I think I figured out how, I just added an IF ((PORTB >> 3) !=1f) then send at the beginning of label getkeyu.
Seems to be working ok momentary, now I just have to figured out how to use NAP to let the pic sleep in between button presses.
Back to the PBP manual......
Thank you for you suggestions.
Bookmarks