Skip to content

Instantly share code, notes, and snippets.

@perusio
Created March 17, 2016 19:28
Show Gist options
  • Save perusio/b37b3d8c1bbc93c078a0 to your computer and use it in GitHub Desktop.
Save perusio/b37b3d8c1bbc93c078a0 to your computer and use it in GitHub Desktop.
wifi credentials workshop
-- 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