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!
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!