Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Calliope coding music+leds on-off ====== input.onButtonPressed(Button.A, () => { basic.showLeds(` . . # . . . . # . . . . # . . . . # . . . . # . . `) while (!(input.buttonIsPressed(Button.B))) { control.waitMicros(4) music.playTone(262, music.beat(BeatFraction.Whole)) } }) kuckucksmuehle/events/music_leds_on-off.txt Last modified: 2018/07/23 14:16by julius_kingsman