I assume you have pull-ups on the input pin.
I assume you have pull-ups on the input pin.
Charles Linquist
yes, i have 10k pull ups on all of the pins
Check all of your TRIS statements. It looks like you're using a lot of pins as inputs, but you have them setup as outputs.
trisd=%11000000 ' this leaves D0 through D5 as outputs with only D6 and D7 as inputs.
thank you forgot to check the simple part
Bookmarks