Test 2017-10-2720:33:33 for the first time
Thank you for this great God's summary.
Http://www.cnblogs.com/yangfengwu/p/7524326.html
This is the content of the debug output!
1ESP8266 started--pengwenzheng--2017.10. ---First test2>connecting .....3Connected,ip is 192.168.15.1684File.remove ("Init.lua");5> File.Open ("Init.lua","w+");6> w =File.writeline7> w ([==[]==]);8> w ([==[print ("\ n")]==]);9> w ([==[print ("ESP8266 [Email protected]# #2017.10.27# #first Test")]==]);Ten> w ([==[dofile ("Wifi.lua")]==]); One>file.close (); A> Dofile ("Init.lua"); - - theESP8266 [Email protected]##2017.10. -# #first Test ->connecting ..... - connecting ..... -Connected,ip is 192.168.15.168
################################################
This is the LUA scripting language code
Wifi.setmode (WiFi. Station)
Wifi.sta.config ("Maker_space", "chuangke666")
Wifi.sta.connect ()
Tmr.alarm (1,1000,1,function ()
If wifi.sta.getip () = = Nil Then
Print ("Connecting ...")
Else
Tmr.stop (1)
Print ("Connected,ip is"). Wifi.sta.getip ())
End
End
esp8266 finally installed the firmware! Half a month! Start marching into the simple, rough LUA language!!