I am using the 28/40 proto board with a 40X1 chip. I am trying to use a Playstation joystick and the readadc command. However when using the debug command I always have a fluctuating reading of around 65 even if there is nothing even plugged into the pin!
I have tested that I'm using the right pin with a digital on/off switch and it works perfectly.
I am at a loss as to what to do?
My code is
main:
readadc 0,b1
debug b1
pause 100
goto main
Â
I have tested that I'm using the right pin with a digital on/off switch and it works perfectly.
I am at a loss as to what to do?
My code is
main:
readadc 0,b1
debug b1
pause 100
goto main
Â