Skip to content

Latest commit

 

History

History

LED

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

LEDcontrol

In this lecture, you will use your NodeMCU to control a red LED, attached to PIN GPIO3. The LED will repeatedly turn ON (for one second) and off (for one second).

You will need:

  • NodeMCU
  • LED
  • Resistor
  • Jumper wires

led

Step 1: Connect NodeMCU, LED and resistor

  • Connect a red LED to PIN 3 of NodeMCU with a resistor
  • Connect ground

Step 2: Upload the sketch