Code Example for micro:bit-RGB LED Strip Control
This article provides a comprehensive guide on controlling RGB LED strips using micro:bit, including hardware and software preparation, wiring diagrams, and example programs in Mind+ and Makecode, along with a demonstration video and additional flow chart information.
Hardware Preparation
![]() |
![]() |
|---|---|
| BOS0001 Rotation Sensor | M011.00184 RGB LED Strip |
![]() |
![]() |
| MBT0039 Micro:bit | BOS0040 Micro:bit BOSON Expansion Board |
Software Preparation
Development tools: Mind+ or Makecode.
Wiring Diagram

Sample Code
Mind+ Sample Program:

Result
Demo Videos:

Additional Information
Flow Chart:

Was this article helpful?




