Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9e4acce

Browse filesBrowse files
authored
Update adc.rst (espressif#8493)
* Update ledc.rst typo * Update adc.rst 12 bits (range from 0 to 4095)
1 parent 42fc2fb commit 9e4acce
Copy full SHA for 9e4acce

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎docs/source/api/adc.rst

Copy file name to clipboardExpand all lines: docs/source/api/adc.rst
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ This function will return analog value in millivolts.
4848
analogReadResolution
4949
^^^^^^^^^^^^^^^^^^^^
5050

51-
This function is used to set the resolution of ``analogRead`` return value. Default is 12 bits (range from 0 to 4096)
52-
for all chips except ESP32S3 where default is 13 bits (range from 0 to 8192).
51+
This function is used to set the resolution of ``analogRead`` return value. Default is 12 bits (range from 0 to 4095)
52+
for all chips except ESP32S3 where default is 13 bits (range from 0 to 8191).
5353
When different resolution is set, the values read will be shifted to match the given resolution.
5454

5555
Range is 1 - 16 .The default value will be used, if this function is not used.
@@ -205,4 +205,4 @@ Here is an example of how to use the ADC.
205205
.. literalinclude:: ../../../libraries/ESP32/examples/AnalogRead/AnalogRead.ino
206206
:language: arduino
207207

208-
Or you can run Arduino example 01.Basics -> AnalogReadSerial.
208+
Or you can run Arduino example 01.Basics -> AnalogReadSerial.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.