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

39 lines
915 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
2016-05-27 00:24:10 +02:00
2016-03-26 00:47:20 +01:00
## Topic
Forever
## Quick Links
2016-04-13 17:27:45 +02:00
* [activity](/lessons/snowflake-fall/activity)
* [quiz](/lessons/snowflake-fall/quiz)
* [quiz answers](/lessons/snowflake-fall/quiz-answers)
* [challenges](/lessons/snowflake-fall/challenges)
2016-03-26 00:47:20 +01:00
## 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
2016-04-13 17:27:45 +02:00
* **show LEDs** : [read more...](/reference/basic/show-leds)
* **pause** : [read more...](/reference/basic/pause)
* **forever** : [read more...](/reference/basic/forever)
2016-03-26 00:47:20 +01:00
2016-04-05 07:33:13 +02:00
```cards
2016-03-30 01:17:34 +02:00
basic.showLeds(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`)
basic.pause(100)
2016-04-05 07:33:13 +02:00
basic.forever(() => {})
2016-03-30 01:17:34 +02:00
```