9. Case06: Rainbow LED#

9.1. Purpose#


  • In this project, you will learn how to use and control the Rainbow LED.

9.2. Materials#


9.3. Software Platform#


MicroSoft makecode

9.4. Hardware connect#

../../_images/case_06_011.png

9.5. Programming#


Program annotation#

../../_images/case_06_02.png

Programming#

Links: https://makecode.microbit.org/_DfEHiCgzdXYk

You can also download it directly below:

9.6. Result#


  • The Rainbow LED display th rainbow mode.

9.7. Exploration#


  • How to adjust the brightness of the Rainbow LED through the A/B button on the micro:bit?

9.8. FAQ#


9.9. Relevant Files#