CONFIG_ESP_CONSOLE_UART_DEFAULT=y
# CONFIG_ESP_CONSOLE_UART_CUSTOM is not set
# CONFIG_ESP_CONSOLE_NONE is not set
CONFIG_ESP_CONSOLE_UART=y
CONFIG_ESP_CONSOLE_MULTIPLE_UART=y
CONFIG_ESP_CONSOLE_UART_NUM=0
CONFIG_ESP_CONSOLE_UART_BAUDRATE=115200
Whats the best (i.e. most straightforward way to get user input from the serial port (UART0)? I’ve looked at the console examples but they seem overkill, I don’t need any console interaction, just need to be able to get the user input & use it in my application.
I looked at Serial.read() (i.e. using the Arduino interface) but the serial output then gets polluted with lots of garbage.