mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
18 lines
259 B
Markdown
18 lines
259 B
Markdown
|
# Example: ADC1
|
||
|
|
||
|
This test code shows how to configure ADC1 and how to use ADC1 get the voltage.
|
||
|
|
||
|
|
||
|
####ADC1 functions:
|
||
|
|
||
|
* ADC1,CHANNEL_4:GPIO32, voltage range [0v,3.1v],the Data range [0,4095]
|
||
|
|
||
|
|
||
|
####Test:
|
||
|
* Please connect the test voltage to GPIO32
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|