OVMS3-idf/examples/peripherals/adc
2017-07-18 21:11:22 +02:00
..
main Changed adc GPIO pin 32, that is not broken out on header in ESP-WROVER-KIT, to 34 2017-07-18 21:11:22 +02:00
Makefile add adc1 example 2017-03-20 14:46:41 +08:00
README.md Changed adc GPIO pin 32, that is not broken out on header in ESP-WROVER-KIT, to 34 2017-07-18 21:11:22 +02:00

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