Hi Optech. The command you're looking for is TRISIO. Use it just as you would TRISA. The 1's are inputs, 0's are outputs.
CMCON = 7 'comparators off
trisio = %11111111 'set all as inputs
DEFINE OSCCAL_1K 1 ' Set OSCCAL for 1K device
Hi Optech. The command you're looking for is TRISIO. Use it just as you would TRISA. The 1's are inputs, 0's are outputs.
CMCON = 7 'comparators off
trisio = %11111111 'set all as inputs
DEFINE OSCCAL_1K 1 ' Set OSCCAL for 1K device
Bookmarks