-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Closed
Labels
Area: Peripherals APIRelates to peripheral's APIs.Relates to peripheral's APIs.Chip: ESP32-C3Issue is related to support of ESP32-C3 ChipIssue is related to support of ESP32-C3 ChipStatus: SolvedThe issue has been resolved and requires no further action.The issue has been resolved and requires no further action.
Milestone
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
Labels
Area: Peripherals APIRelates to peripheral's APIs.Relates to peripheral's APIs.Chip: ESP32-C3Issue is related to support of ESP32-C3 ChipIssue is related to support of ESP32-C3 ChipStatus: SolvedThe issue has been resolved and requires no further action.The issue has been resolved and requires no further action.
Type
Projects
Status
Done