In this lesson, you will learn how to use the LED module and connect it to the Micro:bit board.
Step 1: Grab a set of jumps from the box.
Step 2: Connect the "-" negative wire from the led board to the "GND" on the micro:bit board.
Step 3: Connect the "B" wire from the led board to the "15" on the micro:bit board.
Step 4: Connect the "G" wire from the led board to the "14" on the micro:bit board.
Step 5: Connect the "R" wire from the led board to the "13" on the micro:bit board.
Note: Use the below diagram to connect the jumper leads to the appropriate connections location.
Note: Only "Blue Pins" can be used for the led module.
Connectors:
"-" To GND
13 To "B"
14 To "G"
15 To "R"
Step 6: Â Open the MakeCode editor at https://makecode.microbit.org.
Step 7: After the leads are connected setup your project with the following code. Depending on the color you would like to display you would change the pin to "High" = 1 for "On" and "Low" = 0 for "Off".