I think you need to read portb after you awake from sleep to clear the mismatch.
At the top
Place this after your sleep commandCode:Dummy var Byte
Code:Dummy = PORTB
I think you need to read portb after you awake from sleep to clear the mismatch.
At the top
Place this after your sleep commandCode:Dummy var Byte
Code:Dummy = PORTB
Last edited by mark_s; - 23rd November 2015 at 14:56.
Bookmarks