You are reading a single comment by @Wilberforce and its replies.
Click here to read the full conversation.
-
I tried with both 1v95 and 1v94 and none worked. I tried just choosing a different pin aswell, and then i got
{"err":true,"checksumError":false,"raw":"","temp":-1,"rh":-1}
And if i do a normal analogRead on pin 22
>analogRead(22) E (221702) RTC_MODULE: /mnt/c/Users/rhys/esp32/edge/EspruinoBuildTools/esp32/build/esp-idf/components/driver/./rtc_module.c:554 (adc1_config_channel_atten):ADC Channel Err E (221707) RTC_MODULE: /mnt/c/Users/rhys/esp32/edge/EspruinoBuildTools/esp32/build/esp-idf/components/driver/./rtc_module.c:581 (adc1_get_voltage):ADC Channel Err =0.06298828125
See here
http://forum.espruino.com/conversations/316733/
You might have an earlier firmware that had an issue.