With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
Great start to NodeMCU!This code misses a trick - if you want this to work without serial or indeed a connected computer and you wish to see if the Nodemcu has connected to Wifi, set the pinout to high first by changing the pin out line to HIGH and not LOW: digitalWrite(ledPin, HIGH); , which will light the LED. Set the LED low after it has connected to Wifi with the following: Serial.println("WiFi connected"); <- After this line digitalWrite(ledPin, LOW); <- Add thisSo now the LED lights until the Nodemcu connects to Wifi, then goes out and you can then connect to it through the browser.
Join 2 million + to receive instant DIY inspiration in your inbox.
© 2016 Autodesk, Inc.