Controlling Node MCU's in-built LED - The first Node MCU code.!
We are aware of Node MCU and Arduino IDE if you have followed us from Blog 1 . Today, we will use Node MCU and learn how to code it using the Arduino IDE. To upload the code in Node MCU we need a USB cable (the same cable with which we charge our mobile phone), Insert one end to the PC, and other to the Node MCU. To check whether your USB cable is working properly, follow these steps: Right-click on "This PC" or "My computer." Select Manage. Go to the Device Manager. Remove USB from your PC. Insert it again. If the screen refreshes, then your USB cable is working fine, else you need to change your USB cable. Now, scroll down to ports and see the port name here. It will be something like COM3 or COM5 or any other number. Remember this port number as we will need this further. For better understanding, watch this video. Now, we will learn how to operate the in-built LED of Node MCU. There are two LEDs, one near the D0 pin which is connected to pin D4 and other at the ...