Hello elec mech,
At first glance I think that your TRISC declaration may have a small problem, you have
TRISC = %11100000 ' Make port C pins 4 & 5 inputs and the rest outputs
Try changing this line above to
TRISC = %00110000 'This makes Bits 5, 4 as inputs
Do not feel bad, this is a common easy to make typo mistake.
I have learned, if it don't work, I am most likely the cause of the problem. I go back and re-read my remarks to see where I goofed.
Have a great day,
Sneaky-geek




Bookmarks