do a single green pulse when starting
This commit is contained in:
parent
1368ee824b
commit
97215e894a
@ -1,9 +1,8 @@
|
|||||||
// This is the last thing executed before user code
|
// 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
|
// pulse green, play startup sound, turn off light
|
||||||
brick.setStatusLight(StatusLight.GreenPulse);
|
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);
|
brick.setStatusLight(StatusLight.Off);
|
||||||
|
Loading…
Reference in New Issue
Block a user