
Components:
- Arduino Uno board
- 1 × LED
- Jumper wires
- Breadboard
Circuit Connection:
- Connect the anode (positive leg) of the LED to Arduino’s pin 13 through a resistor.
- Connect the cathode (negative leg) of the LED to GND.
PictoBlox Program:
- Use the set digital pin 13 output HIGH block to turn the LED on.
- Use the set digital pin 13 output LOW block to turn the LED off.

Explanation: This project demonstrates the fundamental concept of using a microcontroller to control an external device. By setting the pin to HIGH, the Arduino sends a current that lights up the LED. Setting the pin to LOW cuts the current, turning the LED off.