diff --git a/README.md b/README.md index c6a3967..8c5d87d 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Raspberry Pi Pico Pinout | Raspberry Pi Pico GPIO | Function | |:----------------------:|:--------:| -| GPIO0 (Pin 1) | UART0 TX | -| GPIO1 (Pin 2) | UART0 RX | +| GPIO16 (Pin 21) | UART0 TX | +| GPIO17 (Pin 22) | UART0 RX | | GPIO4 (Pin 6) | UART1 TX | | GPIO5 (Pin 7) | UART1 RX | diff --git a/uart-bridge.c b/uart-bridge.c index 407b676..8564585 100644 --- a/uart-bridge.c +++ b/uart-bridge.c @@ -52,8 +52,8 @@ const uart_id_t UART_ID[CFG_TUD_CDC] = { .inst = uart0, .irq = UART0_IRQ, .irq_fn = &uart0_irq_fn, - .tx_pin = 0, - .rx_pin = 1, + .tx_pin = 16, + .rx_pin = 17, }, { .inst = uart1, .irq = UART1_IRQ,