Functions | |
| TASK (task, "mw::disp", 4096uz, tskIDLE_PRIORITY, APP_CPU_NUM, 1000u) | |
| esp_err_t | init () |
| Initialize display. | |
| void | task_function (void *) |
| Display telemetry task. | |
| esp_err_t mw::disp::init | ( | ) |
Initialization takes place in init(). This function configures UART_NUM_0 with 115200 baud, installs the UART driver (RX/TX software buffers, 1024 bytes each), assigns default UART0 TX/RX pins, and starts the display task running task_function().
|
inline |
| void mw::disp::task_function | ( | void * | ) |
This task periodically emits a JSON status frame over UART_NUM_0 when the display extension is enabled.
The payload contains: