Counting pulses

Hi Paul,

Thanks for the info. I think the <PinChangeInt.h> library allows pins change interrupts to be used on other Arduino pins, not just D2 & D3?

As the loopTime is set before the IF, is it not executed just once each time the reportAnemometer() function is called? Perhaps there is a better way?