Skip to main content
Tweeted twitter.com/StackArduino/status/748751614199025664
Source Link
asheeshr
  • 3.8k
  • 3
  • 26
  • 61

What happens when I call exit() from my program?

In either of setup or loop, if I were to add an exit(0) call, where would control be passed to? What would the next state of the microcontroller be? Would it stop execution and power down?

I am using a revision 2 Arduino Uno.