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
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