We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Here's a simple first script for testing out your NodeMCU devkit, taken from Rui Santos' Getting Started with the ESPlorer:
lighton=0 pin=4 gpio.mode(pin,gpio.OUTPUT) tmr.alarm(1,2000,1,function() if lighton==0 then lighton=1 gpio.write(pin,gpio.HIGH) else lighton=0 gpio.write(pin,gpio.LOW) end end)