4. Case01: LED#

4.1. Purpose#


  • In this project, you will learn how to use micro:bit to control the flash of led.

4.2. Materials#


  • 1 x micro:bit

  • 1 x Basic : bit

  • 1 x Red LED

  • 1 x Green LED

4.3. Software Platform#


MicroSoft makecode

4.4. Hardware connect#

../../_images/case_01_01.jpg

4.5. Programming#


Program annotation#

../../_images/case_01_021.png

Programming#

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

You can also download it directly below:

4.6. Result#


  • LED light is flashing when the program is running.

4.7. Exploration#


  • How to change the flash frequency of LED.

4.8. FAQ#


4.9. Relevant Files#