Skip to content

Commit 6cc7a63

Browse files
authored
docs: Change ADC default resolution exception to ESP32-S2
1 parent b139bae commit 6cc7a63

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/en/api/adc.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ This function will return analog value in millivolts (calibrated).
5252
analogReadResolution
5353
^^^^^^^^^^^^^^^^^^^^
5454

55-
This function is used to set the resolution of ``analogRead`` return value. Default is 12 bits (range from 0 to 4095).
55+
This function is used to set the resolution of ``analogRead`` return value. Default is 12 bits (range from 0 to 4095)
56+
for all chips except ESP32-S2 where default is 13 bits (range from 0 to 8191).
5657
When different resolution is set, the values read will be shifted to match the given resolution.
5758

5859
Range is 1 - 16 .The default value will be used, if this function is not used.

0 commit comments

Comments
 (0)