mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
821c70f5d7
* Use "example" in all example function & variable names, ie use i2c_example_xxx instead of i2c_xxx for example functions. Closes #198 https://github.com/espressif/esp-idf/issues/198 * Mark example functions, etc. static * Replace uses of "test" & "demo" with "example" * Split the UART example into two * Rename "main" example files to end with "_main.c" for disambiguation
9 lines
416 B
Markdown
9 lines
416 B
Markdown
# Example: rmt_nec_tx_rx
|
|
|
|
This example uses the remote control (RMT) peripheral to transmit and receive codes for the NEC infrared remote protocol.
|
|
|
|
Configuration (pin numbers, etc.) can be modified in top of the main/infrared_nec_main.c file.
|
|
|
|
By default, this example runs a self test which assumes the TX and RX GPIO pins are connected together. To disable this, comment RMT_RX_SELF_TEST in infrared_nec_main.c.
|
|
|