Try adding TRISB=%00000000 to set all PORTB pins as outputs.
You can also simply write TRISB = 0.
(This goes on the beginning of your program.)
J-P
Try adding TRISB=%00000000 to set all PORTB pins as outputs.
You can also simply write TRISB = 0.
(This goes on the beginning of your program.)
J-P
Bookmarks