Counting Multiple Pulses with Interrupts

You may just need INPUT_PULLUP on your D6 pinMode..... if you're not pulling the Flow Meter's line High externally.
Looks like the D5 Bug might be doing that for you "behind the scenes" :

1 Like