Chat freely about anything...

User avatar
By eagle1
#29449 Hi,
I bought nodemcu devkit 1.0. After learning basic functions of lua loader.

I started to write and upload simple codes for controlling GPIO pins, and then move to other advanced codes.

1.So, I wrote this simple code for LED blink and didn't work.
while 1 do
gpio.write(4,gpio.HIGH)
tmr.delay(10000)
gpio.write(4,gpio.LOW)
tmr.delay(10000)
end


2.I get these messages when connecting the chip, are they OK?


Connected to COM2 at 9600 baud

0‚n?†$û!‹Y…I:¶CCE’)–ü_SAø

NodeMCU 0.9.5 build 20150318 powered by Lua 5.1.4

Hard Restart Saturday, September 19, 2015 18:36:07


Regards,