do a single green pulse when starting
This commit is contained in:
1 parent
1368ee824b
commit
97215e894a
1 file changed
+3
-4
+3
-4
@@ -1,9 +1,8 @@
|
||||
// This is the last thing executed before user code
|
||||
|
||||
// We pause for 100ms to give time to read sensor values, so they work in on_start block
|
||||
pause(100)
|
||||
|
||||
// pulse green, play startup sound, turn off light
|
||||
brick.setStatusLight(StatusLight.GreenPulse);
|
||||
music.playSoundEffectUntilDone(sounds.systemStartUp);
|
||||
// We pause for 100ms to give time to read sensor values, so they work in on_start block
|
||||
pause(400)
|
||||
// and we're ready
|
||||
brick.setStatusLight(StatusLight.Off);
|
||||
Reference in new issue
Block a user