Christmas Trading: Our Office will be closed for inquiries from 16/12/24 to 13/01/25

For Christmas shipping dates please see here.

Elecfreaks Rainbow LED Christmas Tree for the BBC micro:bit
Elecfreaks Rainbow LED Christmas Tree for the BBC micro:bit

Elecfreaks Rainbow LED Christmas Tree for the BBC micro:bit

$6.90 inc GST $5.94 inc GST

The Rainbow LED Christmas Tree with 6 code-able LEDs can help you to decorate a beautiful Christmas night. Hardware Connect Connect the black crocodile clip line to the GND port of...

Brand: Elecfreaks
SKU: 57196008
Availability: In Stock Backorder Out of stock
Add to Wishlist

Required products - sold separately

Description

Compatible with v1 & v2

The Rainbow LED Christmas Tree with 6 code-able LEDs can help you to decorate a beautiful Christmas night.

Hardware Connect

  1. Connect the black crocodile clip line to the GND port of the micro:bit, the other side of the black crocodile clip line to the G port of the christmas tree rainbow LED.
  2. Connect the red crocodile clip line to the 3V port of the micro:bit, the other side of the red crocodile clip line to the V port of the christmas tree rainbow LED.
  3. Connect the yellow crocodile clip line to the 0 port of the micro:bit, the other side of the yellow crocodile clip line to the S port of the christmas tree rainbow LED.
Elecfreaks Rainbow LED Christmas Tree Setup

Software

Step 1

  • i) Click makecode https://makecode.microbit.org/#
  • ii) Click on "New Project" and set a new Project.
  • iii) Click on "Advanced" for more code blocks and click the Extensions at the bottom of the column.
  • iv) Serch "neopixel" and add neopixel as a codebase.

Step 2

  • i) Snap "set strip to neopixel at pin with leds as" from neopixel into the on start. Set pin to P1 with 6 LEDs in RGB pattern.

Step 3

  • i) Snap the strip rotate block from the neopixel under the forever. Set the rotate pixels to 1 and set the LEDs change its colour one by one.
  • ii) Then, snap a strip show block for colourful light.

Result

Elecfreaks Rainbow LED Christmas Tree Results
Projects, Kits & Accessories

Find your BBC micro:bit Project Kit & Accessories here!

You can do a lot with a BBC microbit but you can do so much more when you combine it with a microbit project kit and accessories. We've carefully selected project kits and accessories from world leading manufactures including 4tronix, DF Robot, ElecfreaksKitronikMonk Makes , Seeed and Sparkfun to create a one stop shop for you.

To help you find the perfect microbit project for your students or the vital missing component to finish your microbit project we've sorted our extensive range of BBC micro:bit projects and accessories into sub-categories. Click on a sub-category and then use the filters to narrow your search even more. 

Can't find what you're looking for? Chat With Us online, send us an email call us on 1800 634 050 our expert staff are standing by to help you.