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