Turning on LEDs on/off using NodeMCU
Troubleshooting Upload using luatool when you hit an TransportError
This blog is to show how to resolve an error during uploading code you have written for the NodeMCU device from the Mac and in my case Mac OS Yosemite 10.10.5
The error that showed up when I tried to upload from my laptop:
( Just so that you know : this is where I downloaded the luatool ).
http://www.cnx-software.com/2015/10/29/getting-started-with-nodemcu-board-powered-by-esp8266-wisoc/
The error shown in blog means there is another communication program (in my case it is Cool Term ) running on my laptop, which was used to send commands to the NodeMCU firmware.
So I did "disconnect" this to device on the CoolTerm, and was able to run the upload the lua script from my Mac to device successfully.
Getting IP address of NodeMCU with a simple script, and some validation tips.
Getting the IP address of nodeMCU - using CoolTerm and a simple script.
Viewing the Wifi Access Points around my NodeMCU.
Flashing the NodeMCU - first time. - Simple steps and challenges I faced.
Resolving Port Missing on Arduino IDE when connecting Node MCU
Resolving ESP8266Wifi.h not found error when compiling Code for NodeMCU
This blog - shows how to resolve an error that is usually found at the beginning session of trying to compile ESP8266 code on the Arduino.At this point -I'd imagine that you have connected one of the USB cable to the NodeMCU and other end to your laptop ( In my case a Mac OS)If you tried to compile and Upload a sample code something like #include <ESP8266WiFi.h>
constchar*ssid ="Name";
constchar*password ="Password";
; //
WiFiServerserver(80);
voidsetup() {
Serial.begin(115200);
delay(10);...and got an error that the ESP8266WiFi.h - was not found , then follow instructions as shown in this link:https://github.com/ekstrand/ESP8266wifi
In my case - I had to copy, and unzip master.zip it in Users/shashikiran/Documents/Arduino/librariesfolderand then compile the code.Without which I was getting the "ESP8266WiFi.h not found in this Arduino workbench window.