Skip to main content
Fixed grammer and sentence structure to make it easier to read
Source Link
Liro
  • 23
  • 1
  • 5

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?

Using the delay function inside of an Interrupt function is frowned upon when programming an Arduino. The general response to solve this issue is to design the program to delay in a more cleanly way outside of the interrupt.

My question is simply why. Why is putting a delay() inside of an ISR cause wonky behavior with the Arduino. Whats going on under the hood?

Using the delay function inside of an ISR is frowned upon when programming in an Arduino. The general response to solve this desire is to design the program to delay in a more cleanly way outside of the interrupt.

My question is simply why. Why does putting a delay() inside of an ISR cause wonky behavior with the Arduino. Whats going on under the hood?

Source Link
Liro
  • 23
  • 1
  • 5

Arduino delay inside of an Interrupt

Using the delay function inside of an Interrupt function is frowned upon when programming an Arduino. The general response to solve this issue is to design the program to delay in a more cleanly way outside of the interrupt.

My question is simply why. Why is putting a delay() inside of an ISR cause wonky behavior with the Arduino. Whats going on under the hood?