Example Code for micro:bit-Rainbow Running Lights
Last revision 2026/01/04
This article provides example code for using micro:bit to create rainbow running lights, featuring software preparation with MakeCode and Mind+ libraries, complete with screenshots and program links for easy implementation.
Software Preparation
-
MakeCode User Library Link: click here
-
Mind+ Upload Mode User Library Link: click here
-
Mind+ Python Mode User Library Link: click here
Sample Code
| MakeCode Program ScreenshotProgram Link:click here | Mind+ Program Screenshot |
![]() |
![]() |
Result

Was this article helpful?


