You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Steps/ProgrammingTheMicrobit.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -12,18 +12,18 @@ When you create a new project, you get a workspace with two blocks - `on start`
12
12
13
13
## Write your first program
14
14
15
-
> If you have coded the micro:bit before, skip this section and jump to [Building the friend detector](./GettingStarted.md#Building-the-friend-detector).
15
+
> If you have coded the micro:bit before, skip this section and jump to [building the friend detector](./Algorithm.md).
16
16
17
17
To ensure everything is working, lets create a simple program to light up the LEDs.
18
18
19
19
* Expand the *Basic* section of the toolbox
20
20
* Drag a `show leds` block to inside the `on start` block on the workspace
21
21
22
-
![Animated gif showing the show leds block being dragged into the on start block]()
22
+

23
23
24
24
* Select squares in the 5x5 grid inside the `show leds` block to select with LEDs you want turned on. For example, draw a heart.
25
25
26
-
![Animated gif showing the squares in the show leds block being toggled to show a heart shape]()
26
+

27
27
28
28
You will see the output of this program in the simulator. The LEDs will be lit matching the shape you drew.
29
29
@@ -51,13 +51,13 @@ If you were not able to pair your device with MakeCode:
51
51
* Find your micro:bit, it will be available as an external drive
52
52
* Drag the `microbit-Untitled.hex` file from your `Downloads` folder to the micro:bit drive
53
53
54
-
![Animated gif showing the hex file being dragged from the downloads folder to the micro:bit drive]()
54
+

55
55
56
56
The code will be deployed to the micro:bit, and the micro:bit restarted. The `on start` block will run and the LEDs will light up.
57
57
58
58
## Run the app
59
59
60
-
![A photo of the micro:bit with the LEDs lit up like a heart]()
60
+

61
61
62
62
Congratulations, you have created your first micro:bit program. Now let's build the friend detector. Remove the `show leds` block from the `on start` block so you have a clean workspace.
0 commit comments