Fix example pins in docs/modules/uart.md

This commit is contained in:
Mike_Went 2022-08-29 14:02:24 +03:00 committed by Johny Mattsson
parent 796fd7ad0e
commit 3cc1d48b83
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ uart.setup(0, 9600, 8, uart.PARITY_NONE, uart.STOPBITS_1, 1)
```
```lua
uart.setup(2, 115200, 8, uart.PARITY_NONE, uart.STOPBITS_1, {tx = 16, rx = 17})
uart.setup(2, 115200, 8, uart.PARITY_NONE, uart.STOPBITS_1, {tx = 17, rx = 16})
```
## uart.getconfig()