You have created TWO flags - one in setup(), a second one in your ISR. If you want a variable accessible to both, it must be a global.
Regards,
Ray L.
You have created TWO flags - one in setup(), a second one in your ISR. If you want a variable accessible to both, it must be a global.
Regards,
Ray L.