PIC18F2220 sleep and wakeup issue

Status
Not open for further replies.

haxan

New Member
Hello again, how can i make the PIC18 wakeup from a sleep if 2 keypads are attached on PORTB and PORTA and any change in their state (any button pressed from them) wakes up the PIC. This is my first time playing with sleep and wakeup functions. Please kindly help me.
 
also when the wakeup function is called, where is the program counter placed? from where the sleep was called?
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…