8. Case06: Rainbow LED#

8.1. Purpose#


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

8.2. Materials#


8.3. Software Platform#


MicroSoft makecode

8.4. Hardware connect#

../../_images/case_06_011.png

8.5. Programming#


Program annotation#

../../_images/case_06_02.png

Programming#

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

You can also download it directly below:

8.6. Result#


  • The Rainbow LED display th rainbow mode.

8.7. Exploration#


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

8.8. FAQ#


8.9. Relevant Files#