loading
1Comments

Tell us about yourself!

Complete Your Profile
  • Quick Start to Nodemcu (ESP8266) on Arduino IDE

    Very nice write-up for a Quick Start! Helped me confirm my hardware and software environment are set up correctly for first experience with a NodeMCU/ESP8266. One suggestion I'd like to make: Since the ESP8266 saves the SSID and password to non-volatile storage, I define them in preprocessor directives rather than variables. I then use a #ifdef/#else/#endif block to call WiFi.begin(MYSSID,MYPASSWORD) if MYSSID is defined or WiFi.begin() if it isn't. Once I've successfully connected the board to my WiFi I delete the preprocessor directives from my code. This greatly reduces the possibility that I'll accidentally store my WiFi credentials in plaintext on GitHub, Codebender or any other code-sharing site.

    View Instructable »