wokwi/wokwi-docs

typos on uart page

Closed this issue · 0 comments

On https://docs.wokwi.com/chips-api/uart
probably want to replace "on the TX" at
// byte is the byte received on the TX pin
with either from the TX or on the RX.
More importantly

const uart_config_t uart1 { .tx = pin_init("TX", INPUT_PULLUP), .rx = pin_init("RX", INPUT), // ...
needs an assigment "uart1 = {" to build.