Alphabot2 for micro:bit User Manual
32 / 76
DISPLAY DIFFERENT COLORS
We modify the last script to make four RGB LEDs to display different colors, for
example, red, yellow, green and blue
1. Delete block item show color red by dragging it to the left side
2. Place item set pixel color at 0 to red block
-This block can be found in Neopixel->More
-This block can set the color of every pixel from 0
3. Duplicate and complete four LEDs
4. Place item show block to the end
- This block is very import, it finally shows the setting color to RGB LED, without it,
the settings you done before are all useless.
5. Download the script to micro:bit for testing