Startup sequence (#696)
* set light, play sound, show eyes, wait, clear screen, light * play a sound, turn on lights
This commit is contained in:
		@@ -2,3 +2,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
// We pause for 100ms to give time to read sensor values, so they work in on_start block
 | 
					// We pause for 100ms to give time to read sensor values, so they work in on_start block
 | 
				
			||||||
pause(100)
 | 
					pause(100)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// pulse green, play startup sound, turn off light
 | 
				
			||||||
 | 
					brick.setStatusLight(StatusLight.GreenPulse);
 | 
				
			||||||
 | 
					music.playSoundEffectUntilDone(sounds.systemStartUp);
 | 
				
			||||||
 | 
					brick.setStatusLight(StatusLight.Off);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user