Fix example pins in docs/modules/uart.md
This commit is contained in:
parent
796fd7ad0e
commit
3cc1d48b83
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue