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