Another option – take control yourself
Switch0_7 VAR BYTE ' define a bank of 8 switches
sw0 VAR Switch0_7.0 ' alias to bit0
sw1 VAR Switch0_7.1 ' alias to bit1
etc.
Use sw0, sw1, etc., as if you had assigned them as bit variables.
Now in MPLAB you will see Switch0_7 and know what bit is what.
Paul Borgmeier
Salt Lake City, Utah
USA
Bookmarks