Skip to content

Commit

Permalink
Update ADC resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
karlsoderby committed Feb 19, 2025
1 parent 209f7ea commit 3940fab
Showing 1 changed file with 2 additions and 0 deletions.
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

0 comments on commit 3940fab

Please sign in to comment.