move lessons out of web site

will move select lessons back to "educators" section
This commit is contained in:
Tom Ball
2016-06-14 11:49:58 -04:00
parent a6e6dd8287
commit f4eca66648
184 changed files with 8 additions and 8 deletions

View File

@ -1,39 +0,0 @@
# night light lesson
change the brightness of the BBC micro:bit.
## Topic
Set Brightness
## Quick Links
* [activity](/lessons/night-light/activity)
* [challenges](/lessons/night-light/challenges)
* [quiz](/lessons/night-light/quiz)
* [quiz answers](/lessons/night-light/quiz-answers)
## Prior learning/place of lesson in scheme of work
Learn how to **set brightness** of an image `set brightness` to set the brightness of the LED screen. We will be learning how to set the brightness of the LED screen using LED show LEDs, on button pressed and set brightness.
## Documentation
```cards
led.setBrightness(255)
input.onButtonPressed(Button.A, () => {})
basic.showLeds(`
. . . . .
. . . . .
. . # . .
. . . . .
. . . . .
`)
```
## Objectives
* learn how to set the brightness of the LED screen
* learn how to run code when an input button is pressed
* learn how to turn on all LEDs