OVMS3-idf/examples/peripherals
Wangjialin 870efdb9d4 bugfix(uart): patten detect function
requirement from github(https://github.com/espressif/esp-idf/issues/805): to provide the position in the buffer of the pattern detected.

requirement from AT application: in AT app, when no hardware flow control is enabled, in some situation the rx buffer might be full, and the terminator “+++” might be lost, we can use pattern detect interrupt to avoid missing the terminator. When pattern detect interrupt happens, it will not send a data event at the same time.

1. Add API to get position of detected pattern in rx buffer
2. Modify UART event example
3. Add comments for uart_flush, add alias API uart_flush_input to clear the rx buffer
4. Modify the way rx_buffered_len is calculated
2018-01-22 13:33:51 +08:00
..
adc feature(I2S-ADC): add ADC mode for I2S. 2017-09-14 13:24:08 +08:00
adc2 example(adc2): add example and test case for adc2. 2017-10-26 14:35:30 +08:00
gpio bugfix: io setting useless when io_num > 32 2017-12-04 17:35:00 +08:00
i2c bugfix(i2c): add I2C hardware reset if the hw FSM get stuck 2017-10-21 02:10:59 +08:00
i2s i2s: add support apll clock 2017-10-06 15:36:24 +07:00
i2s_adc_dac feature(I2S-ADC): add ADC mode for I2S. 2017-09-14 13:24:08 +08:00
ledc Provided more meaningful parameter names by renaming 'bit_num' to 'duty_resolution' and 'div_num' to 'clock_divider' 2017-11-15 08:08:12 +01:00
mcpwm build: Fix the warnings that break the tests 2017-07-07 11:03:25 +08:00
pcnt Provided more meaningful parameter names by renaming 'bit_num' to 'duty_resolution' and 'div_num' to 'clock_divider' 2017-11-15 08:08:12 +01:00
rmt_nec_tx_rx bugfix(rmt): fix event thresh check issue 2017-10-18 18:49:09 +08:00
rmt_tx Implement review comments 2017-11-22 23:33:29 +01:00
sigmadelta Updated sigma delta API documenation and example 2017-09-25 21:31:09 +02:00
spi_master example(spi_master): add menuconfig to enable the auto detect of LCD type. 2017-09-06 11:41:07 +08:00
spi_slave SPI: Small fixes according to MR comments 2017-04-27 11:49:04 +08:00
timer_group Timer API docs update, refactored example 2017-10-27 07:13:59 +02:00
touch_pad_interrupt Mass replacement of http with https urls, fixed broken urls 2017-09-06 08:16:01 +02:00
touch_pad_read Mass replacement of http with https urls, fixed broken urls 2017-09-06 08:16:01 +02:00
uart_async_rxtxtasks Print out in hex format in case non printable data are received 2017-10-19 22:06:53 +02:00
uart_echo Updated UART API documentation and examples. Included a fix of #1091 from GitHub 2017-10-10 05:54:36 +02:00
uart_events bugfix(uart): patten detect function 2018-01-22 13:33:51 +08: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.