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

37 lines
729 B
Markdown
Raw Normal View History

2016-03-26 00:47:20 +01:00
# beautiful image lesson
2016-05-27 00:24:10 +02:00
Display beautiful images on the BBC micro:bit.
2016-03-26 00:47:20 +01:00
## Topic
Show LEDs
## Quick Links
2016-04-13 17:27:45 +02:00
* [activity](/lessons/beautiful-image/activity)
* [challenges](/lessons/beautiful-image/challenges)
2016-03-26 00:47:20 +01:00
## 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-04-05 07:33:13 +02:00
```cards
2016-03-30 00:59:00 +02:00
basic.showLeds(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`)
basic.pause(100)
```
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