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().
This task sends a JSON status frame via UART_NUM_0 once per second when the display extension is enabled.
The payload contains: