I'm working on a project that uses an OLED display. The display is working very well but it has an odd power down requirement that I'm having trouble getting my mind around.
The manual recommends that before powering down you send a power down sequence of characters to the display. The interface is serial.
I'm using an ATmega164P and assume that a brownout interrupt could be used to send the power down characters.
I've never used the brownout function to perform a task before, does this work or make sense?
One more question, I can't find the name of the reset interrupt routine for the 164P. Any suggestions?
Thanks,
Tom
[threads now merged]