So.....
I think I may have messed up. My intention was to use some external switches hooked to my ADC. I planned on sourcing the voltage to the pullups from other PIC PORTA pins so that when I wanted to sleep, I could kill the power going to the switches.
**broken link removed**
The issue I'm having is that when the pullup's/output is off the ADC reads 0 as it should. When the pullups are on, the ADC reads 5V constantly. However, I can tell the switches are working and are changing the voltage on the two wires, the ADC is just not seeing it.
Any ideas?
I think I may have messed up. My intention was to use some external switches hooked to my ADC. I planned on sourcing the voltage to the pullups from other PIC PORTA pins so that when I wanted to sleep, I could kill the power going to the switches.
**broken link removed**
The issue I'm having is that when the pullup's/output is off the ADC reads 0 as it should. When the pullups are on, the ADC reads 5V constantly. However, I can tell the switches are working and are changing the voltage on the two wires, the ADC is just not seeing it.
Any ideas?