Welcome to World of Module Sensor Kit repository
2.3 MakeCode Programming Guide
1.First connect the micro: bit board to the computer. At this time, the computer will have a drive letter named MICROBIT, as shown in the figure below. Open this drive letter, click the MICROBIT.HTM website to enter the micro: bit official website, or you can also enter to micro:bit website in the browser: http://microbit.org/.
2.After successfully entering the website, we can see the interface as shown in the figure below, click [Language] in the upper right corner to switch the language of the current interface.

3.After we switch the language, let’s click [Let ’s code].
4.Click [MakeCode editor] enter the MakeCode editor homepage.

5. Click [New Project] to create a project of your own, and you can enter the MakeCode programming interface, as shown below.


6.First, you need to add the Yahboom software package. Click [Advanced]--[Extension], then, an interface for adding an extension package will pop up.
7.Enter the URL in the input field of the pop-up interface:https://github.com/YahboomTechnology/Module-World .Then, click the search icon on the right or press the "Enter" key on the keyboard to search for the Yahboom expansion pack. Click it to successfully add the expansion pack.
8.After loading the expansion pack, we can see that the program bar has loaded the building blocks made by Yahboom, as shown below.

9.We can drag the blocks to the right programming area to start programming. After writing, we can name the program, as shown below.
10.Next, we can click the [Download] or [Save] button to download the program to the computer or directly to the micro: bit drive letter.
11.After the download is complete, we will get a hex file, we can copy or send the hex file to the micro:bit board.
During the download process, we can see the progress bar as shown in the left picture below, and the orange indicator on the back of the micro:bit board will flash. When the progress bar scrolls and the orange indicator stops flashing, it means that we have successfully downloaded the program to the micro:bit board.
Finally, we can see a love pattern displayed on the micro:bit board, as shown in the right figure below.