Flashing LED

Circuit Diagram

LED_connection

Connections:

  • 1K resistor bridging left and right sides of the breadboard.
  • LED
    • Positive side (long leg), next to the resistor on the right side of the breadboard.
    • Negative side (short leg), any pin below.
  • Raspberry Pi
    • Pin 6 (ground) next to the LED negative side
    • Pin 11 next to the resistor on the left side of the breadboard

——-

Scratch

  • Broadcast “pin11high” command to turn LED on.
  • Broadcast “pin11low” command to turn LED off.
  • Insert a wait delay between high and low commands to see flashing.

——-

Python