updated camp
This commit is contained in:
parent
7e7dc91947
commit
18bf35f179
20
docs/camp.md
20
docs/camp.md
@ -1,17 +1,11 @@
|
|||||||
# Camp
|
# Getting started
|
||||||
|
|
||||||
Are you ready to build cool BBC micro:bit programs? For each challenge, reorder the blocks to recreate the program.
|
Are you ready to build cool BBC micro:bit programs? For each challenge, reorder the blocks to recreate the program.
|
||||||
|
|
||||||
|
* If you haven't done so, open [https://m.pxt.io](/) and create a new **Blocks Editor** project
|
||||||
|
|
||||||
## Basic
|
## Basic
|
||||||
|
|
||||||
### Show your name
|
|
||||||
|
|
||||||
Reorder the blocks below to make the micro:bit show your name.
|
|
||||||
```shuffle
|
|
||||||
basic.showString('Hello!')
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
### Show leds
|
### Show leds
|
||||||
|
|
||||||
Use the blocks below to draw a figure on the screen. You can redo the smiley face or try something else!
|
Use the blocks below to draw a figure on the screen. You can redo the smiley face or try something else!
|
||||||
@ -26,6 +20,11 @@ basic.showLeds(`
|
|||||||
`)
|
`)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To transfer your code to the BBC micro:bit,
|
||||||
|
* connect your micro:bit to the computer using the USB cable
|
||||||
|
* click on **Download**
|
||||||
|
* drag&drop the **.hex** file into the **MICROBIT** drive
|
||||||
|
* wait till the yellow light is done blinking!
|
||||||
|
|
||||||
### Show animation Forever
|
### Show animation Forever
|
||||||
|
|
||||||
@ -75,7 +74,8 @@ basic.forever(() => {
|
|||||||
|
|
||||||
### Your turn now!
|
### Your turn now!
|
||||||
|
|
||||||
Use the blocks and create your own custom awesome animation!
|
Use the blocks ``show leds`` and ``forever``
|
||||||
|
to create your own custom awesome animation!
|
||||||
|
|
||||||
## Inputs
|
## Inputs
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user