Program micro:bit to light up RGB LEDs in different colours and patterns.
Control two DC motors at the same time for two different usage.
Set strip is used to provide settings to your micro:bit, i.e. Build:bit's Neopixel is connected to pin P12 and that are 4 LEDs in RGB format.
Control the brightness of RGB LEDs.
Light up all RGB LEDs in the specified color.
Light up a specific pixel RGB LED in the specified color.
"Update" the changes made and display it onto RBG LEDs.
Rotate (jump) a number of pixel(s) at each iteration.
Shift (off) a number of pixel(s) at each iteration.
Show Colour
Set Pixel
A light emitting diode (LED) is a semiconductor light source that emits light when current flows through it.
LEDs have many advantages over incandescent light sources, including lower energy consumption, longer lifetime, improved physical robustness, smaller size, and faster switching.
LEDs are used in applications such as automotive headlamps, general lighting, traffic signals, camera flashes, horticultural grow lights, and medical devices.
The name of the RGB comes from the three primary colours which are red, green, and blue.
Secondary colours are formed by the sum of two primary colours of equal intensity: cyan is green+blue, magenta is blue+red, and yellow is red+green.
Zero intensity for each colour component gives the darkest colour (no light, considered as black), and full intensity of each gives white color.