Quantcast
Channel: Microcontrollers, Programming and IoT
Viewing all articles
Browse latest Browse all 1271

Brown out detection for Arduino mega 2560

$
0
0
Hi everyone,

I read in the datasheet that the arduino mega has a brown out detection. (datasheet: http://www.atmel.com/images/atmel-2...r-atmega640-1280-1281-2560-2561_datasheet.pdf)

But i was wondering, can i also use the brown out to trigger an interrupt? What i would like to do is just safe 1 variable to eeprom before the arduino dies. So it would call an interrupt routine that just stores this variable.

Anyone knows if this is possible?

Thanks!

Viewing all articles
Browse latest Browse all 1271

Trending Articles