T te55 New Member May 21, 2012 #1 Hello, Why it is not possible to write : 8 in the program : Read ADC, 8,A I can't write at the bottom of the screen : 8, I can write : 0,1,2,3 ... That's all ! Thank you for your answer.
Hello, Why it is not possible to write : 8 in the program : Read ADC, 8,A I can't write at the bottom of the screen : 8, I can write : 0,1,2,3 ... That's all ! Thank you for your answer.
M mrburnette Senior Member May 22, 2012 #2 Welcome te55: Look at the syntax: http://www.picaxe.com/BASIC-Commands/Analogue-InputOutput/readadc/ I assume you have a statement such as Symbol A = b0 Therefore you may only use the ADC channel (not pin number) using the syntax. The number of ADC channels are chip-dependent. - Ray
Welcome te55: Look at the syntax: http://www.picaxe.com/BASIC-Commands/Analogue-InputOutput/readadc/ I assume you have a statement such as Symbol A = b0 Therefore you may only use the ADC channel (not pin number) using the syntax. The number of ADC channels are chip-dependent. - Ray