1、Simple Demo We can operate the GPIO of NodeMCU like Arduino,Code block-1 is a simple demo gave by the official website. For more you can see http://nodemcu.readthedocs.io/en/master/en/modules/gpio/
On the board of NodeMCU, there are two leds what can be tested. 1、First LED Through the pcb file of NodeMCU (see Figure-1 or https://github.com/nodemcu/nodemcu-devkit-v1.0/blob/master/NODEMCU_DEVKIT
Since the execution of "init.lua" at the time of NodeMCU booting, once there are any bugs in it, the NodeMCU may restart over and over again.Luckily, the Lua is asynchronous.At the same time of boot
On the board of NodeMCU, there are two leds what can be tested. 1、First LED Through the pcb file of NodeMCU (see Figure-1 or https://github.com/nodemcu/nodemcu-devkit-v1.0/blob/master/NODEMCU_DEVKIT