Hi all,
I am having some funny things happen with veroboard ciruit I
have made to learn PIC's.
I have wired up 4 Leds off porta and eight dip switches off
portb.
The dip switches I have a 10k resistor in series with them in
cases of accidently setting the port to output and shorting the
dirver.
The circuit sort of works as long as you put your hand on the
vero board, else things go a bit funny.
When I first built the circuit I put the dip switch common to
V+. This did not work. So now I have it at V- and it sort of works?
Q. what is the correct way to read the status of the port into
a register.
Thanks in advance.
Mathew Cohen