You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a board with GPIO3 pulled up to 3v3 via 10k resistor. I've tried the same experiment with GPIO0. The bug is still the same: when performing analogRead(GPIO_number), I expect to get maximum ADC reading (4095 by default or 2047 if analogReadResolution(11); was called) and something close to 3300 mV when analogReadMilliVolts() is called. But I keep receiving ADC values of 3360 (1680 in 11-bit mode) but with right millivolts of around 3300.
Another thing that I've noticed is that pinMode(GPIO_number, INPUT_PULLUP) does nothing.
Have tried 2 different boards, both ESP cores of 3.1.13 and 3.2.0, and different PCs. The bug is still the same.
I've left commented out ADC settings in setup() so you can reproduce the problem and see it at different resolutions.
Board
ESP32-C6 Zero
Device Description
Waveshare's ESP32-C6 Zero
Hardware Configuration
GPIO3 is pulled-up via 10k to 3v3
Version
v3.2.0
IDE Name
Arduino IDE 1.8.13
Operating System
Windows 10
Flash frequency
80 MHz
PSRAM enabled
yes
Upload speed
921600
Description
I have a board with GPIO3 pulled up to 3v3 via 10k resistor. I've tried the same experiment with GPIO0. The bug is still the same: when performing analogRead(GPIO_number), I expect to get maximum ADC reading (4095 by default or 2047 if analogReadResolution(11); was called) and something close to 3300 mV when analogReadMilliVolts() is called. But I keep receiving ADC values of 3360 (1680 in 11-bit mode) but with right millivolts of around 3300.
Another thing that I've noticed is that pinMode(GPIO_number, INPUT_PULLUP) does nothing.
Have tried 2 different boards, both ESP cores of 3.1.13 and 3.2.0, and different PCs. The bug is still the same.
I've left commented out ADC settings in setup() so you can reproduce the problem and see it at different resolutions.
Sketch
Debug Message
Other Steps to Reproduce
Works perfectly on ESP32-C3 SuperMini.
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: