Standard logger in combination with UART
Posted: Mon Jun 18, 2018 12:07 pm
Hi All,
I have a display connected to the UART of the ESP32. All works well, but I noticed when I call:
uart_set_pin(UART_NUM_1, ECHO_TEST_TXD, ECHO_TEST_RXD, ECHO_TEST_RTS, ECHO_TEST_CTS);
The default logging macros like "ESP_LOGI()" no longer output any data to the serial console. I only see the data that is send to the display.
How can I both output the data that is send to the display user the UART and show the default Logging data? I want to be able to debug both data that goes to the screen and the rest of the application itself.
Thanks!
I have a display connected to the UART of the ESP32. All works well, but I noticed when I call:
uart_set_pin(UART_NUM_1, ECHO_TEST_TXD, ECHO_TEST_RXD, ECHO_TEST_RTS, ECHO_TEST_CTS);
The default logging macros like "ESP_LOGI()" no longer output any data to the serial console. I only see the data that is send to the display.
How can I both output the data that is send to the display user the UART and show the default Logging data? I want to be able to debug both data that goes to the screen and the rest of the application itself.
Thanks!