Closed
Description
Board
esp32-c3-devkitm-1
Device Description
nop
Hardware Configuration
nop
Version
v2.0.3
IDE Name
Arduino IDE
Operating System
Windows10
Flash frequency
80Mhz
PSRAM enabled
no
Upload speed
115200
Description
I want to read ad value.But here is a problem,i find C3's arduino lib ad attenuation have diference with datasheet.
datasheet show 750,1050,1300,2500 (mV)
but the arduino lib esp32-hal-adc.c Line 249 show
switch(__analogAttenuation){
case 3: max_mv = 3900; break;
case 2: max_mv = 2200; break;
case 1: max_mv = 1500; break;
default: break;
}
Sketch
nop
Debug Message
nop
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.
Metadata
Metadata
Assignees
Type
Projects
Status
Done