|
Post by rvsmith on Sept 12, 2019 8:43:50 GMT
It seems as though there is an issue referencing the analog pins using A0, A1, ... When using the analogRead function I have to reference A0 using "0". Please advise if this is the correct behaviour and why?
|
|
|
Post by rvsmith on Sept 16, 2019 9:25:35 GMT
Hello
I am following up here. I am still having this issue. Can you provide some guidance on the AI usage?
|
|
|
Post by Admin on Sept 16, 2019 11:11:08 GMT
The analog pins can only be read using analogRead() with simple numerical values. So to read analog pin 0 you use analogRead(0). If you try to use analogRead(A0) it will not work. This is because A0 is defined as pin 64 which is the digitalRead () pin equivalent.
We will fix this problem in the next release.
|
|