2016-03-26 00:47:20 +01:00
|
|
|
# beautiful image blocks activity
|
|
|
|
|
2016-04-02 01:22:47 +02:00
|
|
|
Generate and show a beautiful image.
|
2016-03-26 00:47:20 +01:00
|
|
|
|
2017-09-07 22:42:08 +02:00
|
|
|
## ~avatar avatar
|
2016-03-26 00:47:20 +01:00
|
|
|
|
|
|
|
Let's learn how to show an image on the LED screen.
|
|
|
|
|
2017-09-07 22:42:08 +02:00
|
|
|
## ~
|
2016-03-26 00:47:20 +01:00
|
|
|
|
|
|
|
We will use *show LEDs* to draw an image on the LED screen. This function immediately writes on the screen.
|
|
|
|
|
|
|
|
```blocks
|
|
|
|
basic.showLeds(`
|
|
|
|
# # # # #
|
|
|
|
# # . # #
|
|
|
|
# . # . #
|
|
|
|
# # . # #
|
|
|
|
# # # # #
|
|
|
|
`)
|
|
|
|
```
|
|
|
|
|
2017-09-07 22:42:08 +02:00
|
|
|
## ~avatar boothing
|
2016-03-26 00:47:20 +01:00
|
|
|
|
2016-04-13 17:27:45 +02:00
|
|
|
Excellent, you're ready to continue with the [challenges](/lessons/beautiful-image/challenges)!
|
2016-03-26 00:47:20 +01:00
|
|
|
|
2017-09-07 22:42:08 +02:00
|
|
|
## ~
|
2016-03-26 00:47:20 +01:00
|
|
|
|