« first day (3867 days earlier)      last day (81 days later) » 

6:12 PM
1
Q: Alternative to polling interrupt flag from main loop?

ErikI am using an ISR, which is written to be as minimal as possible: volatile bool interrupt1{}; void ISR1() { interrupt1 = true; } The interrupt is handled by polling the interrupt1 variable in loop(): if (interrupt1 == true) { // Do stuff interrupt1 = false; } Even though the interrupt si...

 

« first day (3867 days earlier)      last day (81 days later) »