Display Different Colors - Waveshare Alphabot2 User Manual

For micro:bit
Table of Contents

Advertisement

Alphabot2 for micro:bit User Manual

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
2. Place
item set pixel color at 0 to red
-This block can be found in
-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
by dragging it to the left side
block
Neopixel->More
32 / 76

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for Waveshare Alphabot2

Table of Contents