# Case01: LED ## Purpose --- - In this project, you will learn how to use micro:bit to control the flash of led. ## Materials --- * 1 x micro:bit * 1 x [Basic : bit](https://www.elecfreaks.com/store) * 1 x Red LED * 1 x Green LED ## Software Platform --- [MicroSoft makecode](https://makecode.microbit.org/#) ## Hardware connect ![](./images/case_01_01.jpg) ## Programming --- ### Program annotation ![](./images/case_01_02.png) ### Programming Links: [https://makecode.microbit.org/_65R0K831xY47](https://makecode.microbit.org/_65R0K831xY47) You can also download it directly below:
## Result --- * LED light is flashing when the program is running. ## Exploration --- * How to change the flash frequency of LED. ## FAQ --- ## Relevant Files ---