Hi the following code comes up with a syntax error, but when I replace sensor1 for d.6 it compiles.
Any ideas or is this an editor problem?
Thanks
Rich
#picaxe 40x2
Symbol Sensor2=d.7
Symbol Sensor1=d.6
main:
readadc10 Sensor1, b1
goto main
ERROR MESSAGE
readadc10 Sensor1, b1
^
Syntax error on line 6 at/before position 10
Error: Valid ADC channels are 0-27 only!
Any ideas or is this an editor problem?
Thanks
Rich
#picaxe 40x2
Symbol Sensor2=d.7
Symbol Sensor1=d.6
main:
readadc10 Sensor1, b1
goto main
ERROR MESSAGE
readadc10 Sensor1, b1
^
Syntax error on line 6 at/before position 10
Error: Valid ADC channels are 0-27 only!