This is the use of this paragraph
Because this default is the firmware that supports the AT command, so we're going to brush Nodemcu's
First look at the wiring
GPIO0 default is operating mode (no wiring). If the next low level is the download mode (to the module brush firmware!!) ) So the low level is connected. CH_PD high level, the rest can not be wired except TX,RX.
The rest is actually almost the same as my article NODEMCU preliminary study
The first is to download the tools and firmware you need to use first
Link: Http://pan.baidu.com/s/1dF5NZ3N Password: Bziq
Now you need to put the module in normal operation mode
Requires a Java environment, prompting installation when installing
Okay, now write a program that lets the module connect to the wireless network
print (Wifi.sta.getip ()) Wifi.setmode (WiFi. Station) Wifi.sta.config ("SSID","password") Print (Wifi.sta.getip ())
You can also use this always-connected code
--Init.luaprint ('Setting up WIFI ...') Wifi.setmode (WiFi. Station) Wifi.sta.config (' the','1234567890') Wifi.sta.connect () Tmr.alarm (1, +, TMR. Alarm_auto, function ()ifWifi.sta.getip () = =Nil then print ('waiting for IP ...') ElsePrint ('IP is'.. wifi.sta.getip ()) Tmr.stop (1) endend)
Okay, now start brushing back the firmware with the AT command.
Connect the line, reset the module, or power up the module
The module's back,,,,,,,,,,,,,,,,,
ESP8266 brush at firmware and NODEMCU firmware