pxt-calliope/olddocs/lessons/magic-logo.md
Tom Ball f4eca66648 move lessons out of web site
will move select lessons back to "educators" section
2016-06-14 11:49:58 -04:00

41 lines
1004 B
Markdown

# magic logo lesson
show an image that points up when the logo is up.
## Topic
On Logo Up
## Quick Links
* [activity](/lessons/magic-logo/activity)
* [challenges](/lessons/magic-logo/challenges)
* [quiz](/lessons/magic-logo/challenges)
* [quiz answers](/lessons/magic-logo/challenges)
## Prior learning/place of lesson in scheme of work
Learn how to plot image **on logo up**, `on logo up` to run code when the micro:bit screen is facing up and vertically orientated. We will be learning how to plot an image with the logo up, basic show LEDs, and logo down.
## Documentation
```cards
input.onLogoUp(() => {})
input.onLogoDown(() => {})
basic.showLeds(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`)
```
## Objectives
* learn how to display an image on the micro:bit's LED screen
* learn how to run code when the micro:bit screen is facing down and vertically orientated
* learn how to run code when the micro:bit screen is facing up and vertically orientated