d128dad3dc
* set light, play sound, show eyes, wait, clear screen, light * play a sound, turn on lights
10 lines
344 B
TypeScript
10 lines
344 B
TypeScript
// 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);
|
|
brick.setStatusLight(StatusLight.Off);
|