Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
119835bf
Commit
119835bf
authored
Sep 28, 2017
by
Marcel Stör
Browse files
Update WiFi code sample
Fixes #2117
parent
7946dead
Changes
1
Show whitespace changes
Inline
Side-by-side
README.md
View file @
119835bf
...
@@ -38,7 +38,7 @@ end)
...
@@ -38,7 +38,7 @@ end)
```
lua
```
lua
-- connect to WiFi access point
-- connect to WiFi access point
wifi
.
setmode
(
wifi
.
STATION
)
wifi
.
setmode
(
wifi
.
STATION
)
wifi
.
sta
.
config
(
"SSID"
,
"password"
)
wifi
.
sta
.
config
{
ssid
=
"SSID"
,
pwd
=
"password"
}
```
```
# Documentation
# Documentation
...
...
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