At the end of this lesson, you will be able to:
create a program that will make a single RGB LED light up all the digital colors available
making an RGB LED light up, on a breadboard
now we need to power the RGB LED, not with 3.0 V but with "digital write" pins from the Micro:bit that we can turn on (3.0 V) and off (0.0 V)
when we hit A, all of the colors of an RGB LED light up in sequence
to do this we need to set 3 pins to "digital out":
we will use pin 13, 14 & 15
build the above
click on provided link to create a new GitHub repo
call the repo: TEJ2O.1-Unit2-08
create a program that will do the following:
when the user clicks the "A" button, the Micro:bit powers on a single RGB LED on a breadboard and scrolls through the colors it can produce
you will need to pause 1 second between each color
at the end, turn off the RGB LED
see video below
do the above assignment but in Python
solder the circuit on a perf board and connect it to your Micro:Bit connector