From 119835bf305cda86127e358e10aef02f3c5520f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20St=C3=B6r?= Date: Thu, 28 Sep 2017 22:40:17 +0200 Subject: [PATCH] Update WiFi code sample Fixes #2117 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6b9139d2..18ad7d7f 100644 --- a/README.md +++ b/README.md @@ -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