I am working with PIC18F4620, and can not seem to get the input to read high. I simply made a small program with proper 2.2K pull down resistor on PortC.4, as input, and wanted high on PortC.1 or PortC.3 when input is high. Very simple .
I noticed that when I push a small switch (connected to +5 VDC) to PortC.4 the program switches a small LED on on PortC.1. But when I removed the +5 V from PORTC.4, the output remains high. The only way it will go low again, is if I wait for 1 or 2 minutes, or if I short PortC.4 to ground. Any ideas.
This is one of my easy problems, I am having more problems like LCD freeze after a day or two of testing. And such.
Bookmarks