-
• #2
As you spotted in https://forum.espruino.com/conversations/395499/?offset=100#comment17472881 analogRead it isn't working yet, no.
We've been trying to work out why but it's not trivial (it's not that we are yet to implement it, it's that the code in there that should work, and works for ESP32, doesn't appear to work correctly for us).
Thanks for the offer of a donation - however I think right now the most helpful thing would be if you were able to find a way to help with finding a solution. The relevant code is in this file: https://github.com/espruino/Espruino/blob/master/targets/esp32/jshardwareAnalog.c#L144-L147 and the current discussion on finding a solution is in https://forum.espruino.com/conversations/395499/?offset=100#comment17472881
We found that we were unable to use AnalogRead during development
ERRER:
The output of AnalogRead is 0
May I ask if there is a solution? If possible, we would be happy to make a donation
1 Attachment