Merge branch 'master' of https://github.com/Microsoft/pxt-microbit
This commit is contained in:
commit
c5c0103573
@ -5,6 +5,31 @@ Are you ready to build cool BBC micro:bit programs?
|
|||||||
Here are some challenges for you. Unscramble the blocks in the editor
|
Here are some challenges for you. Unscramble the blocks in the editor
|
||||||
to make real programs that work!
|
to make real programs that work!
|
||||||
|
|
||||||
|
### Blinky face
|
||||||
|
|
||||||
|
You should see three blocks in the editor to the left.
|
||||||
|
These are a block with a smiley face, ...
|
||||||
|
|
||||||
|
```shuffle
|
||||||
|
basic.forever(() => {
|
||||||
|
basic.showLeds(`
|
||||||
|
. . . . .
|
||||||
|
. # . # .
|
||||||
|
. . . . .
|
||||||
|
# . . . #
|
||||||
|
. # # # .
|
||||||
|
`)
|
||||||
|
basic.showLeds(`
|
||||||
|
. . . . .
|
||||||
|
. . . . .
|
||||||
|
. . . . .
|
||||||
|
. . . . .
|
||||||
|
. . . . .
|
||||||
|
`)
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
### Show LEDs
|
### Show LEDs
|
||||||
|
|
||||||
Draw something in the editor with this block. You can draw another
|
Draw something in the editor with this block. You can draw another
|
||||||
|
Loading…
Reference in New Issue
Block a user