The MonkMakes RGB LED for micro:bit provides a colorful add-on to your micro:bit. Connect it up with alligator clips and then use the three outputs of your micro:bit to control the red, green and blue channels to mix up any color of light you want.
Connect the RGB LED to the micro:bit as shown below. When attaching the alligator clips to the micro:bit, make sure that the clips are perpendicular to the board so that they are not touching any of the neighbouring connectors on the micro:bit edge connector.
Paste the following code into the Python window and then Download the file and copy it onto your your micro:bit
from microbit import * def set_rgb(red, green, blue): pin0.write_analog(red) pin1.write_analog(green) pin2.write_analog(blue) while True: set_rgb(255, 0, 0) sleep(4000) set_rgb(800, 100, 0) sleep(1000) set_rgb(0, 1023, 0) sleep(5000) set_rgb(800, 100, 0) sleep(1000)
With this kit, you get everything you need to start learning about connecting electronics to...
The MonkMakes Speaker for micro:bit is a neat little amplified speaker that connects to your...
The 7-segment for micro:bit is a four digit 7-segment display for micro:bit. You can use...
The MonkMakes Sensor Board for micro:bit allows you to sense sound level, temperature and light...