2017-10-27 07:19:16 +02:00
|
|
|
# Sound Machine
|
|
|
|
|
|
|
|
This example program combined with the small model will make a beat and rhythm on any surface when the program is run.
|
|
|
|
|
|
|
|
```blocks
|
|
|
|
loops.forever(function () {
|
2018-01-19 01:43:16 +01:00
|
|
|
motors.largeA.setSpeed(50)
|
2017-10-27 07:19:16 +02:00
|
|
|
loops.pause(200)
|
2018-01-19 01:43:16 +01:00
|
|
|
motors.largeA.setSpeed(100)
|
2017-10-27 07:19:16 +02:00
|
|
|
loops.pause(200)
|
|
|
|
})
|
|
|
|
```
|