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
|
2018-02-15 01:05:31 +01:00
|
|
|
forever(function () {
|
2018-01-19 01:43:16 +01:00
|
|
|
motors.largeA.setSpeed(50)
|
2018-02-15 01:05:31 +01:00
|
|
|
pause(200)
|
2018-01-19 01:43:16 +01:00
|
|
|
motors.largeA.setSpeed(100)
|
2018-02-15 01:05:31 +01:00
|
|
|
pause(200)
|
2017-10-27 07:19:16 +02:00
|
|
|
})
|
|
|
|
```
|