HeiFelix
Member level 1
RA0-RA3
Hi members:
I have set the PORTA RA0-RA3 to be the input in a 16F877 and connected them to DIPs. The another ends of DIPs are tied to ground via a resistor. When DIP is ON, the PORTA RA is read as "0", How can I get it to be "1" when the DIP is OFF?
The fact are as following:
1. I can not use the resistors to pull them up because the PCB was done.
2. I can not move the DIP to PORTB because the PORTB is occupied by other DIPs.
Thanks
Hi members:
I have set the PORTA RA0-RA3 to be the input in a 16F877 and connected them to DIPs. The another ends of DIPs are tied to ground via a resistor. When DIP is ON, the PORTA RA is read as "0", How can I get it to be "1" when the DIP is OFF?
The fact are as following:
1. I can not use the resistors to pull them up because the PCB was done.
2. I can not move the DIP to PORTB because the PORTB is occupied by other DIPs.
Thanks