Migrate docs from the other repo
This commit is contained in:
32
docs/lessons/beautiful-image/activity.md
Normal file
32
docs/lessons/beautiful-image/activity.md
Normal file
@ -0,0 +1,32 @@
|
||||
# beautiful image blocks activity
|
||||
|
||||
Generate and show a beautiful image. #docs #microbit
|
||||
|
||||
### ~avatar avatar
|
||||
|
||||
### @video td/videos/beautiful-image-0
|
||||
|
||||
Let's learn how to show an image on the LED screen.
|
||||
|
||||
### ~
|
||||
|
||||
To create a new script, go to the [Create Code](/microbit/create-code) page and tap *New Project* under the *Block Editor*.
|
||||
|
||||
We will use *show LEDs* to draw an image on the LED screen. This function immediately writes on the screen.
|
||||
|
||||
```blocks
|
||||
basic.showLeds(`
|
||||
# # # # #
|
||||
# # . # #
|
||||
# . # . #
|
||||
# # . # #
|
||||
# # # # #
|
||||
`)
|
||||
```
|
||||
|
||||
### ~avatar boothing
|
||||
|
||||
Excellent, you're ready to continue with the [challenges](/microbit/lessons/beautiful-image/challenges)!
|
||||
|
||||
### ~
|
||||
|
Reference in New Issue
Block a user