Hello Unregistered ,
Originally Posted by Macgman2000 When I read PortB using LatB, I can't seem to detect a set bit on B1. The LATx registers only control the Output state of the pins. When you Read LATx, you are reading the requested Output state. If the pin is in Input mode, you need to read PORTx to see the state of the PIN.
DT
Forum Rules
Bookmarks