so Im working with a pic kit2 demo board with a pic16f690 chip
I have a program that reads the potinter and lights the leds
when its turned.
if (t>60)
rc0=1
and so on...
now I want to read input port ra1 using a temp sensor and pluging it into
the hole in the serial port on the board that corresponds to ra1
well its not reading the temp sensor
do I need to change ANSEL -1; line to something else
I have changed the ADCON0 to read port RA1 in my loop program.
and it didnt work. what do I need to do?
I have a program that reads the potinter and lights the leds
when its turned.
if (t>60)
rc0=1
and so on...
now I want to read input port ra1 using a temp sensor and pluging it into
the hole in the serial port on the board that corresponds to ra1
well its not reading the temp sensor
do I need to change ANSEL -1; line to something else
I have changed the ADCON0 to read port RA1 in my loop program.
and it didnt work. what do I need to do?