mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
15 lines
260 B
Markdown
15 lines
260 B
Markdown
# Example: ADC1
|
|
|
|
This test code shows how to configure ADC1 and read the voltage connected to GPIO pin.
|
|
|
|
|
|
### ADC1 functions:
|
|
|
|
ADC1_CHANNEL_6: GPIO34, voltage range [0V..3.1V], the data range [0..4095]
|
|
|
|
|
|
### Test:
|
|
|
|
Please connect the test voltage to GPIO34
|
|
|