2017-12-15 12:55:20 +01:00
|
|
|
// 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
|
2018-02-15 01:05:31 +01:00
|
|
|
pause(100)
|
2018-06-20 22:32:00 +02:00
|
|
|
|
|
|
|
// pulse green, play startup sound, turn off light
|
|
|
|
brick.setStatusLight(StatusLight.GreenPulse);
|
|
|
|
music.playSoundEffectUntilDone(sounds.systemStartUp);
|
|
|
|
brick.setStatusLight(StatusLight.Off);
|