LCD is powered Through a P-Mosfet ( Driven by PortB.4 ... LOW for ON )
The "wakeup" interrupt is generated by a Low to High transition on Port B.1 ...
see "sommeil" and "Wakeup" labels for what you look for ...
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks