Hi,
Just read the Port register:
That's it.Code:myValue = PortB
/Henrik.
EDIT: Make sure to check and setup stuff like ADCON, CMCON for any pins you're going to use.
Hi,
Just read the Port register:
That's it.Code:myValue = PortB
/Henrik.
EDIT: Make sure to check and setup stuff like ADCON, CMCON for any pins you're going to use.
Bookmarks