Commit 119835bf authored by Marcel Stör's avatar Marcel Stör
Browse files

Update WiFi code sample

Fixes #2117
parent 7946dead
......@@ -38,7 +38,7 @@ end)
```lua
-- connect to WiFi access point
wifi.setmode(wifi.STATION)
wifi.sta.config("SSID", "password")
wifi.sta.config{ssid="SSID", pwd="password"}
```
# Documentation
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment