rename intruder to security (#492)
This commit is contained in:
9
docs/maker/movement-detector.md
Normal file
9
docs/maker/movement-detector.md
Normal file
@ -0,0 +1,9 @@
|
||||
# Movement Detector
|
||||
|
||||
This program will activate an alarm when an object moves in front of the Ultrasonic Sensor.
|
||||
|
||||
```blocks
|
||||
sensors.ultrasonic4.onEvent(UltrasonicSensorEvent.ObjectNear, function () {
|
||||
music.playSoundEffectUntilDone(sounds.informationActivate)
|
||||
})
|
||||
```
|
Reference in New Issue
Block a user