Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PXCT-571] Update ADC resolution for Nano ESP32 #2404

Merged
merged 1 commit into from
Feb 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,8 @@ Note that all analog pins can be used as digital pins as well, but not vice vers

There are 8 analog input pins on the Nano ESP32, with 2 reserved for I2C communication (A4/A5). The ESP32-S3 embeds two SAR ADCs, `ADC1` and `ADC2`, where each ADC uses 4 channels each.

The default resolution for the ADC pins are 12-bit (returns a value between 0-4095).

| Pin | Type | Function | ADC channel |
| --- | ------ | ------------------------------------------- | ----------- |
| A0 | Analog | Analog input 0 | `ADC1_CH0` |
Expand Down