pxt-calliope/docs/lessons/beautiful-image.md

42 lines
789 B
Markdown
Raw Normal View History

2016-03-26 00:47:20 +01:00
# beautiful image lesson
2016-04-02 01:22:47 +02:00
display beautiful images on the BBC micro:bit.
2016-03-26 00:47:20 +01:00
### @video td/videos/beautiful-image-0
## Topic
Show LEDs
## Quick Links
* [activity](/microbit/lessons/beautiful-image/activity)
* [challenges](/microbit/lessons/beautiful-image/challenges)
## Prior learning/place of lesson in scheme of work
Learn how to **show LEDs**, to show an image on the BBC micro:bit's LED screen. We will be learning how to Show LEDs using simple commands such as Show LEDs and pause.
## Documentation
2016-03-30 00:59:00 +02:00
```docs
basic.showLeds(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`)
2016-03-26 00:47:20 +01:00
2016-03-30 00:59:00 +02:00
basic.pause(100)
2016-03-26 00:47:20 +01:00
2016-03-30 00:59:00 +02:00
```
2016-03-26 00:47:20 +01:00
2016-03-30 00:59:00 +02:00
## Objectives
2016-03-26 00:47:20 +01:00
2016-03-30 00:59:00 +02:00
* learn how to display an image on the micro:bit's LED screen
* learn how to pause your code for the specified number of milliseconds
2016-03-26 00:47:20 +01:00