I’ve read that the brown-out-dector is enabled at 2.7V (or 4.5V) on the Arduino. Lately I’ve been using Arduino-ala-breadboard. In an attempt to make my breadboard as Arduino compatible as possible, I’ve been running with the brown-out-detector enabled. Which got me to wondering, what happens when a brown-out occurs? I know an interrupt is generated but then what? Is there code in the Arduino libraries to “halt” the processor? Or restart the Sketch?
I know an interrupt is generated but then what?
The interrupt service routine can do things in the short time it has got like writing vital variables to eprom if it is useful but there is not much time to do anything else.