Try to set portA and B to zero before TrisCode:'declare inputs and outputs appropriately PortA = 0 PortB = 0 TRISA = %00111100 ' a.5 is INPUT only TRISB = %11100100
What value is your pulldown resistor?
Al.
Try to set portA and B to zero before TrisCode:'declare inputs and outputs appropriately PortA = 0 PortB = 0 TRISA = %00111100 ' a.5 is INPUT only TRISB = %11100100
What value is your pulldown resistor?
Al.
All progress began with an idea
Bookmarks