initial commit
This commit is contained in:
		
							
								
								
									
										16
									
								
								scripts/mled-discomode
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										16
									
								
								scripts/mled-discomode
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
REFRESHRATE=1
 | 
			
		||||
LEDCONTROLLER="/usr/bin/ledcontroller"
 | 
			
		||||
 | 
			
		||||
while (true); do
 | 
			
		||||
 | 
			
		||||
  for discoColor in blue red green aqua purple yellow white; do
 | 
			
		||||
 | 
			
		||||
    $LEDCONTROLLER $discoColor
 | 
			
		||||
 | 
			
		||||
    sleep "$REFRESHRATE"
 | 
			
		||||
 | 
			
		||||
  done
 | 
			
		||||
 | 
			
		||||
done
 | 
			
		||||
		Reference in New Issue
	
	Block a user