You might have an earlier firmware that had an issue.
I tried with both 1v95 and 1v94 and none worked. I tried just choosing a different pin aswell, and then i got
And if i do a normal analogRead on pin 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
© Espruino, powered by microcosm.
Report a problem