I used the code to read pulses from the Ambient weather air flow meter.

Dependencies:   mbed