OVMS3-idf/examples/peripherals/uart_async_rxtxtasks
Pieter du Preez 479ba94ef7 Added an asynchronous UART example, using separate RX and TX tasks.
Signed-off-by: krzychb <krzychb@gazeta.pl>
2017-10-19 21:46:09 +02:00
..
main Added an asynchronous UART example, using separate RX and TX tasks. 2017-10-19 21:46:09 +02:00
Makefile Added an asynchronous UART example, using separate RX and TX tasks. 2017-10-19 21:46:09 +02:00
README.md Added an asynchronous UART example, using separate RX and TX tasks. 2017-10-19 21:46:09 +02:00

UART asynchronous example, that uses separate RX and TX tasks

Starts two FreeRTOS tasks:

  • One task for transmitting 'Hello world' via the UART.
  • One task for receiving from the UART.

If you'd like to see your ESP32 receive something, simply short TXD_PIN and RXD_PIN. By doing this data transmitted on TXD_PIN will be received on RXD_PIN. See the definitions of TXD_PIN and RXD_PIN in ./main/uart_async_rxtxtasks_main.c.