updating lessons

This commit is contained in:
Michael Elliot Braun
2016-03-30 15:54:19 -07:00
parent 1e77491b16
commit a14585d36f
20 changed files with 67 additions and 41 deletions

View File

@ -16,9 +16,15 @@ If the rectangle above represents the BBC micro:bit, write the code to set all t
<br />
```
```blocks
led.setBrightness(255)
led.plotAll()
basic.showLeds(`
# # # # #
# # # # #
# # # # #
# # # # #
# # # # #
`)
```
## 3. Consider the following image
@ -29,9 +35,15 @@ If the rectangle above represents the BBC micro:bit, write the code to set the s
<br/>
```
```blocks
led.setBrightness(128)
led.plotAll()
basic.showLeds(`
# # # # #
# # # # #
# # # # #
# # # # #
# # # # #
`)
```
## 4. Consider the following image
@ -40,7 +52,7 @@ led.plotAll()
If the rectangle above represents the BBC micro:bit, write the code to turn off all the LEDs.
```
```blocks
led.setBrightness(0)
```