What you need
1. Count the number of LEDS on the strip or ring. Specify which pin the neopixel is connected to.
2. Take note of the arrow direction .
Din is the input (connect to the micro:bit). To connect 8 leds or more (recommended but a lot of
times, I have no problem running 12) in a strip requires an external supply.
Neopixel Micro:bit basic blink
Neopixel Micro:bit basics rainbow
Neopixel Micro:bit basics set individual color
Neopixel Micro:bit basics rotate by 1
** to rotate in the opposite direction, change rotate pixels by -1
Neopixel Micro:bit control by buttons.
Button A blink
Button B random colours
Button A+B off
Download mothersday laser cut files. Feel free to modify the design
Mother’s Day code
Light0 strip will be rainbow color
Light1 strip will change color whenever A is pressed
Press A+B to off
The original content is shared by Mark Ng
Related Blog as follows: