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

35 lines
743 B
Markdown
Raw Normal View History

2016-03-25 16:47:20 -07:00
# snowflake fall blocks lesson
2016-04-01 16:22:47 -07:00
design a blinking rectangle animation.
2016-03-25 16:47:20 -07:00
2016-05-26 15:24:10 -07:00
2016-03-25 16:47:20 -07:00
## Topic
Forever
## Quick Links
2016-04-13 08:27:45 -07: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-25 16:47:20 -07: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-04 22:33:13 -07:00
```cards
2016-03-29 16:17:34 -07:00
basic.showLeds(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`)
basic.pause(100)
2016-04-04 22:33:13 -07:00
basic.forever(() => {})
2016-03-29 16:17:34 -07:00
```