Created
March 17, 2016 19:28
-
-
Save perusio/b37b3d8c1bbc93c078a0 to your computer and use it in GitHub Desktop.
wifi credentials workshop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Setup the WiFi in station mode. | |
if not wifi.sta.getip() then | |
wifi.setmode(wifi.STATION) | |
wifi.sta.config("iotlab1", "IoTInnoLab") | |
print(wifi.sta.getip()) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment