code to record wind speed

You also have to be able to supply DC power to the anemometer.

Paul