OVMS3-idf/examples/peripherals/rmt_tx
2018-05-31 14:46:23 +10:00
..
main driver(rmt):Add API supports sending uint8_t type data. 2018-05-22 01:55:44 +00:00
CMakeLists.txt cmake: Add CMakeLists.txt files for all examples 2018-04-30 09:59:20 +10:00
Makefile RMT API docs update, new example 2017-11-21 22:34:23 +01:00
README.md RMT API docs update, new example 2017-11-21 22:34:23 +01:00

RMT Transmit Example

This example shows how to configure and operate the remote control (RMT) peripheral to transmit a sample message in the Morse code.

Configuration (pin number, etc.) can be modified in the top of the main/rmt_tx_main.c file.

To be able to see and hear the message output by the RMT, connect a LED and a speaker or an earphone (be careful - it may be loud) to the GPIO configured under RMT_TX_GPIO define (default is GPIO 18).

Example connections:

             330R            LED     
GPIO18 +----/\/\/\----+------|>|-----+ GND
                      |    
                      | /|
                     +-+ |   Speaker
                     | | |     or
                     +-+ |  earphone
                      | \|
                      |
                      +--------------+ GND

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