doggington
Member
I am trying to reaquaint myself with picaxe after several years of non use.
Useing a Picaxe 18m2
I am trying to read a POT (on a breadboard) it is simply wired to the same 5v supply with the "wiper" connected to c.0 the resulting debug output is just a series of random numbers
main:
readadc c.0,b1
debug
pause 1000
goto main
If I put a thermistor in instead same thing.. if i put the 10k resistor to 0v in the circuit as per picaxe manual I get 0 in the debug.
what am i doing wrong?
Useing a Picaxe 18m2
I am trying to read a POT (on a breadboard) it is simply wired to the same 5v supply with the "wiper" connected to c.0 the resulting debug output is just a series of random numbers
main:
readadc c.0,b1
debug
pause 1000
goto main
If I put a thermistor in instead same thing.. if i put the 10k resistor to 0v in the circuit as per picaxe manual I get 0 in the debug.
what am i doing wrong?