Code:TRISB = %11110000 ‘B.0 – B.3 inputs, rest outputs.
Your TrisB setting is wrong. To have B0 - B3 as inputs then the TrisB should be the other way around
TrisB = %00001111
Cheers
Al.
Code:TRISB = %11110000 ‘B.0 – B.3 inputs, rest outputs.
Your TrisB setting is wrong. To have B0 - B3 as inputs then the TrisB should be the other way around
TrisB = %00001111
Cheers
Al.
All progress began with an idea
Bookmarks