pxt-calliope/docs/lessons/snowflake-fall.md

42 lines
1021 B
Markdown
Raw Normal View History

2016-03-26 00:47:20 +01:00
# snowflake fall blocks lesson
2016-04-02 01:22:47 +02:00
design a blinking rectangle animation.
2016-03-26 00:47:20 +01:00
### @video td/videos/snowflake-fall-0
## Topic
Forever
## Quick Links
* [activity](/microbit/lessons/snowflake-fall/activity)
* [quiz](/microbit/lessons/snowflake-fall/quiz)
* [quiz answers](/microbit/lessons/snowflake-fall/quiz-answers)
* [challenges](/microbit/lessons/snowflake-fall/challenges)
## Prior learning/place of lesson in scheme of work
Learn how to show LEDs with a, `pause` to pause program execution for a specified amount of milliseconds. We will be learning how to show images using forever loop as well as simple commands, such as pause and show LEDs.
## Documentation
* **show LEDs** : [read more...](/microbit/reference/basic/show-leds)
* **pause** : [read more...](/microbit/reference/basic/pause)
* **forever** : [read more...](/microbit/reference/basic/forever)
2016-03-30 01:17:34 +02:00
```docs
basic.showLeds(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`)
basic.pause(100)
basic.forever(() => {
})
```