esp-idf/examples/peripherals
Darian Leung 88b05f9391 esp_adc_cal: Added ADC calibration component
Added component containg API that is able to correct raw ADC readings
into a voltage in mV. Also provided a helper function that combines
the process of getting the raw ADC1 reading then converting it to a
voltage in mV. In doing so, the adc1_get_voltage() function of the ADC
driver has been deprecated. Instead there is now adc1_get_raw to obtain
the raw ADC1 reading, and adc1_to_voltage() that gets the raw reading
and converts all in one function. Functions using the deprecated
adc1_get_voltage() have also been updated to use adc1_get_raw().

Conversion is based on ADC characteristics. The characteristics are based
on the ADC's v_ref, herefore the appropriate structure and functions have
been provided to obtain the ADC characteristics.

The existing ADC driver has also been modified by adding a function to
route the internal ADC reference voltage to a GPIO allowing users to measure
it manually.

Relevant documentation has also been updated
2017-08-29 18:43:14 +08:00
..
adc esp_adc_cal: Added ADC calibration component 2017-08-29 18:43:14 +08:00
gpio examples: Standardise naming of files, symbols, etc. in examples 2017-03-27 17:42:05 +11:00
i2c examples: Standardise naming of files, symbols, etc. in examples 2017-03-27 17:42:05 +11:00
i2s Merge branch 'bugfix/i2s_driver' into 'master' 2017-04-28 08:00:07 +08:00
ledc examples: Standardise naming of files, symbols, etc. in examples 2017-03-27 17:42:05 +11:00
mcpwm build: Fix the warnings that break the tests 2017-07-07 11:03:25 +08:00
pcnt examples: Standardise naming of files, symbols, etc. in examples 2017-03-27 17:42:05 +11:00
rmt_nec_tx_rx examples: Standardise naming of files, symbols, etc. in examples 2017-03-27 17:42:05 +11:00
sigmadelta examples: Standardise naming of files, symbols, etc. in examples 2017-03-27 17:42:05 +11:00
spi_master example(spi_master): add menuconfig options allowing users to choose which type of LCD is used. 2017-08-18 10:26:07 +08:00
spi_slave SPI: Small fixes according to MR comments 2017-04-27 11:49:04 +08:00
timer_group examples: Standardise naming of files, symbols, etc. in examples 2017-03-27 17:42:05 +11:00
touch_pad_interrupt driver(touch): fix bug and add more features 2017-08-22 21:21:39 +08:00
touch_pad_read driver(touch): fix bug and add more features 2017-08-22 21:21:39 +08:00
uart_echo examples: Standardise naming of files, symbols, etc. in examples 2017-03-27 17:42:05 +11:00
uart_events examples: Standardise naming of files, symbols, etc. in examples 2017-03-27 17:42:05 +11:00
README.md Added README.md to example category folders 2017-01-18 21:03:15 +01:00

Peripherals Examples

This section provides examples how to configure and use ESP32s internal peripherals like GPIO, UART, I2C, SPI, timers, counters, ADC / DAC, PWM, etc.

See the README.md file in the upper level examples directory for more information about examples.