Arduino String Length Variable Valve