OVMS3-idf/examples/peripherals/adc
Darian Leung 55c179a599 esp_adc_cal/Add eFuse functionality and update calibration method
This commit updates the esp_adc_cal ocmponent to support eFuse functionality.
The method of calibraiton has also been changed
2018-02-26 21:52:00 +08:00
..
main esp_adc_cal/Add eFuse functionality and update calibration method 2018-02-26 21:52:00 +08:00
Makefile add adc1 example 2017-03-20 14:46:41 +08:00
README.md More detailed description of ADC API 2017-09-11 21:00:09 +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..1.1V], the data range [0..4095]

Test:

Please connect the test voltage to GPIO34