Skip to content

Commit

Permalink
Fix example pins in docs/modules/uart.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeWent authored and jmattsson committed Jan 30, 2024
1 parent ca5acdb commit a6d5d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/modules/uart.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a6d5d47

Please sign in to comment.