I don't like needing to check the compiler files for information, because changing PICs can be a hassle, especially when you forget about it.
When I did it (years ago) I had to do something like this...
myPIN = 2 ...set this in your IF statements
low portb.0[myPIN] ...allows you to use any port you like, and changing PICs is easy.




Bookmarks