ea956f1a73
* renaming up/down/click to released/pressed/bump * missing images * fixing signature issue * updated strings * white lego logo
12 lines
300 B
Markdown
12 lines
300 B
Markdown
# Ignition Activity 1
|
|
|
|
```blocks
|
|
sensors.touch1.onEvent(ButtonEvent.Pressed, function () {
|
|
brick.showImage(images.eyesDizzy)
|
|
})
|
|
sensors.ultrasonic4.onEvent(UltrasonicSensorEvent.ObjectDetected, function () {
|
|
brick.showImage(images.eyesTiredMiddle)
|
|
})
|
|
brick.showImage(images.eyesSleeping)
|
|
```
|