2017-10-27 09:13:51 +02:00
|
|
|
# Puppet
|
|
|
|
|
|
|
|
Use this program with the Programmable Brick and Large Motor.
|
|
|
|
|
|
|
|
```blocks
|
|
|
|
loops.forever(function () {
|
2018-01-19 01:43:16 +01:00
|
|
|
motors.largeA.setSpeed(30)
|
2017-10-27 10:47:25 +02:00
|
|
|
loops.pause(100)
|
2018-01-19 01:43:16 +01:00
|
|
|
motors.largeA.stop()
|
|
|
|
music.playSoundEffectUntilDone(sounds.animalsCatPurr)
|
|
|
|
motors.largeA.setSpeed(-30)
|
2017-10-27 10:47:25 +02:00
|
|
|
loops.pause(100)
|
2018-01-19 01:43:16 +01:00
|
|
|
motors.largeA.stop()
|
2017-10-27 09:13:51 +02:00
|
|
|
})
|
|
|
|
```
|