See if this helps.
Add TRISB = %00000000 to the initialization section of your code to set RB pins up as outputs.
Change each HIGH or LOW PORTB.? to PORTB.? = 1 or 0.
Does it work as expected?
See if this helps.
Add TRISB = %00000000 to the initialization section of your code to set RB pins up as outputs.
Change each HIGH or LOW PORTB.? to PORTB.? = 1 or 0.
Does it work as expected?
Bookmarks