Skip to content

Instantly share code, notes, and snippets.

@k2cCreations
k2cCreations / Centered Green
Created April 5, 2014 20:13
The four lights illuminate green, the inner two turn on, then the outer two, then the outer two turn off, then finally the inner two turn off
First enter "shell" without (")
Second enter "sudo su" Without (")
ectool lightbar seq stop
ectool lightbar 4 00 00 00
while :
do
ectool lightbar 1 00 cc 00
@k2cCreations
k2cCreations / Solid Google
Last active August 29, 2015 13:58
All 4 lights changing through the Google Colors, then each bar displays one Google Color
First enter "shell" without (")
Second enter "sudo su" Without (")
ectool lightbar seq stop
ectool lightbar 4 00 00 00
while :
do
ectool lightbar 4 00 00 ff
@k2cCreations
k2cCreations / return to normal
Created April 3, 2014 14:05
running this after a reboot should help return to normal
shell
sudo su
ectool lightbar init
ectool lightbar seq run
@k2cCreations
k2cCreations / Google Colors
Last active August 29, 2015 13:57
Each LED will flash one Google Color at a time.
First enter "shell" without (")
Second enter "sudo su" Without (")
ectool lightbar seq stop
ectool lightbar 4 00 00 00
while :
do
ectool lightbar 0 00 00 ff
@k2cCreations
k2cCreations / Red and White
Created March 31, 2014 18:01
The two outer lights will display red then the two inner lights will display red, the process will repeat with the lights displaying white.
First enter "shell" without (")
Second enter "sudo su" Without (")
ectool lightbar seq stop
ectool lightbar 4 00 00 00
while :
do
ectool lightbar 0 ff 00 00
@k2cCreations
k2cCreations / Red to White
Last active August 29, 2015 13:57
Lights will cycle from one side to the other, fading red to white, then back to red
First enter "shell" without (")
Second enter "sudo su" Without (")
ectool lightbar seq stop
ectool lightbar 4 00 00 00
while :
do
ectool lightbar 0 ff 00 00