pxt-ev3/docs/maker/sound-machine.md

12 lines
275 B
Markdown
Raw Normal View History

2017-10-26 22:19:16 -07: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 () {
output.motorA.on(50)
loops.pause(200)
output.motorA.on(100)
loops.pause(200)
})
```