Open technoblogy opened 4 years ago
None analog input pin exist!
See wiring.c `uint32_t analogRead( uint32_t ulPin ) {
return 0;
}`
analogRead() is a dummy function.
I'm referring to the Maixduino board. There are six analog pins; see here:
Ahh,
The analog pins are owned by ESP not by K210.
They still need to be supported in the Maixduino core.
For use analog pins you will need write SPI code for connection between the ESP32 and k210. Analog pins only works from the ESP.
Is there a plan to add the necessary code to the Arduino core, so analogRead() will work as expected?
The analogue inputs don't work; trying:
always prints 0, and:
always prints 33.