Using the delay function inside of an Interrupt functionISR is frowned upon when programming in an Arduino. The general response to solve this issuedesire is to design the program to delay in a more cleanly way outside of the interrupt.
My question is simply why. Why isdoes putting a delay() inside of an ISR cause wonky behavior with the Arduino. Whats going on under the hood?