Implementing an analog read of an anemometer through ADC