getting started
This commit is contained in:
parent
0416d88d59
commit
4d9450dd06
@ -11,8 +11,9 @@ to make real programs that work!
|
|||||||
|
|
||||||
### Happy face
|
### Happy face
|
||||||
|
|
||||||
There are three blocks in the editor (the area to the left).
|
Use the **Basic** drawer in the editor (to the left)
|
||||||
Arrange them to look like this:
|
to drag out and arrange three blocks (two ``show leds` and one ``forever)
|
||||||
|
to create this program:
|
||||||
|
|
||||||
```blocks
|
```blocks
|
||||||
basic.forever(() => {
|
basic.forever(() => {
|
||||||
@ -33,7 +34,7 @@ basic.forever(() => {
|
|||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
When you run this program, you will see a smiley face, then a blank
|
When you run this program (click the **Play** button) you will see a smiley face, then a blank
|
||||||
screen, then a smiley again -- it never stops! (That's because of the
|
screen, then a smiley again -- it never stops! (That's because of the
|
||||||
``forever`` block.)
|
``forever`` block.)
|
||||||
|
|
||||||
@ -69,7 +70,7 @@ Click **Compile** to move your program to the BBC micro:bit!
|
|||||||
|
|
||||||
### Your turn!
|
### Your turn!
|
||||||
|
|
||||||
Pile up more ``show leds`` blocks to create your animation! Create an
|
Pile up more ``show leds`` blocks to create an animation! Create an
|
||||||
animation with at least 5 pictures. What does this animation show?
|
animation with at least 5 pictures. What does this animation show?
|
||||||
|
|
||||||
```blocks
|
```blocks
|
||||||
|
Loading…
Reference in New Issue
Block a user