I tried that code and got the same output as you. I'm not familiar with how you use the interrupt here though--I used attachInterrupt in mine. I'll try looking up the way you did it and see if it works in my code.
Thanks for your help!
I tried that code and got the same output as you. I'm not familiar with how you use the interrupt here though--I used attachInterrupt in mine. I'll try looking up the way you did it and see if it works in my code.
Thanks for your help!