Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Connecting NodeMCU to wifi using enduser setup.
-- file: connect.lua
local module = {}
function module.start()
enduser_setup.start(
function()
print("Connected to wifi as: " .. wifi.sta.getip())
end,
function(err, str)
print("enduser_setup: Err #" .. err .. ": " .. str)
end
);
end
return module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.