pxt-ev3/libs/music/test.ts
2020-09-09 12:06:33 -07:00

9 lines
144 B
TypeScript

music.setVolume(3)
music.playTone(440, 500)
pause(500)
music.playTone(1440, 500)
pause(500)
music.playTone(2440, 500)
pause(500)
music.volume()