Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
3cc1d48b
Commit
3cc1d48b
authored
Aug 29, 2022
by
Mike_Went
Committed by
Johny Mattsson
Jan 30, 2024
Browse files
Fix example pins in docs/modules/uart.md
parent
796fd7ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/modules/uart.md
View file @
3cc1d48b
...
@@ -102,7 +102,7 @@ uart.setup(0, 9600, 8, uart.PARITY_NONE, uart.STOPBITS_1, 1)
...
@@ -102,7 +102,7 @@ uart.setup(0, 9600, 8, uart.PARITY_NONE, uart.STOPBITS_1, 1)
```
```
```
lua
```
lua
uart
.
setup
(
2
,
115200
,
8
,
uart
.
PARITY_NONE
,
uart
.
STOPBITS_1
,
{
tx
=
1
6
,
rx
=
1
7
})
uart
.
setup
(
2
,
115200
,
8
,
uart
.
PARITY_NONE
,
uart
.
STOPBITS_1
,
{
tx
=
1
7
,
rx
=
1
6
})
```
```
## uart.getconfig()
## uart.getconfig()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment