put lessons back for Michael

This commit is contained in:
Tom Ball
2016-06-14 17:28:08 -04:00
parent 0c67cd8e8b
commit 54213cf554
182 changed files with 0 additions and 0 deletions

40
docs/lessons/looper.md Normal file
View File

@ -0,0 +1,40 @@
# looper blocks lesson
Learn to control blinking LEDs.
## Topic
For Loop
## Quick links
* [activity](/lessons/looper/activity)
* [challenges](/lessons/looper/challenges)
* [quiz](/lessons/looper/quiz)
* [quiz answers](/lessons/looper/quiz-answers)
## Class
Year 7
## Prior learning/place of lesson in scheme of work
Learn how to control a blinking LED. We will be learning how to create a blinking app using the for loop as well as simple commands, such as plot and pause.
## Documentation
```cards
for (let i = 0; i < 5; i++) {}
basic.showNumber(0)
basic.pause(100)
```
## Objectives
* learn how to repeat code a fixed number of times
* learn how to show a number on the LED screen, one digit at a time (scrolling from left to right)
* learn how to pause program execution for the specified number of milliseconds
* learn how to arithmetic operators operate on numbers and return a number