finished updated lessons
This commit is contained in:
@@ -23,10 +23,20 @@ Learn how to create a **local variable**, `var t :=time` where you can store dat
|
||||
|
||||
## Documentation
|
||||
|
||||
* **on shake** : [read more...](/microbit/reference/input/on-gesture)
|
||||
* **local variable** : [read more...](/microbit/reference/variables/var)
|
||||
* **show LEDs** : [read more...](/microbit/reference/basic/show-leds)
|
||||
* **pick random** : [read more...](/microbit/blocks/math)
|
||||
```docs
|
||||
input.onGesture(Gesture.Shake, () => {
|
||||
|
||||
})
|
||||
Math.random(3)
|
||||
let x = 0
|
||||
basic.showLeds(`
|
||||
. . . . .
|
||||
. . . . .
|
||||
. . # . .
|
||||
. . . . .
|
||||
. . . . .
|
||||
`)
|
||||
```
|
||||
|
||||
## Objectives
|
||||
|
||||
|
||||
Reference in New Issue
Block a user