I have set:
ANSELH=%00000000
If I check for say a portb.3 button press, it works fine. If I check for a portb.5 button press it works fine.
However, if I check for say portb.3 and then portb.5 straight away, sometimes portb.5 comes back as 1 instead of 0, etc.
Bookmarks