Hi guys,
some changes made but still Porta.0 is running the show
If i change the input on porta.0 it changes my "fixed" reading on porta.1
What i did :
Turned on the Vref+ and with a voltage drop through resistors i managed to get 1.6V vref in porta.3 and added this in my code:
ADCON1 = %10100011
Also added a pauseus between readings
pauseus 1000
placed on LCD the original adc reading followed by the math result
lcdout $fe,2, dec tes1, " PA1 ", dec volt, " "
lcdout $fe,$c0,dec te0," PA0 ", dec temp, " "
Acetronics,
you said that you re-wrote my code and it worked...
One question:
Have you made any changes ?
I dont know where to turn now
.
Bookmarks