Add a Light

Add a Second LED Light

In this activity, you will:

  • Add a second LED light circuit to your board.
  • Write scripts with variations of digital_write() to blink the two lights:
    • In tandem
    • Alternating
    • Sequentially

Parts

(1) Setup from Connect and Blink a Light including the green LED circuit parts.
(1) LED - yellow
(1) Resistor - 220 Ω (red-red-brown-gold)
(1) Jumper wire (black)

Circuit

To build the LED circuits in the picture shown below:

  • Move the green LED circuit down from row 16 to row 17. 
  • Connect the green LED to micro:bit P13 with the 220 ohm resistor.
  • Build the yellow LED circuit on row 13, and connect it to micro:bit P13.