Update WiFi code sample

Fixes #2117
This commit is contained in:
Marcel Stör 2017-09-28 22:40:17 +02:00
parent 7946deadab
commit 119835bf30
1 changed files with 1 additions and 1 deletions

View File

@ -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