Skip to content

Instantly share code, notes, and snippets.

@Ames
Created July 19, 2015 18:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ames/a6a20eeccbc84041a565 to your computer and use it in GitHub Desktop.
Save Ames/a6a20eeccbc84041a565 to your computer and use it in GitHub Desktop.
Connecting to Wi-Fi on NodeMCU
wifi.setmode(wifi.STATION)
wifi.sta.config("2337","clearfield")
wifi.sta.connect()
wifi.sta.autoconnect(1) -- connect on boot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment