aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--turtetris_slave/leds.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/turtetris_slave/leds.py b/turtetris_slave/leds.py
index 3075827..e780d0f 100644
--- a/turtetris_slave/leds.py
+++ b/turtetris_slave/leds.py
@@ -3,7 +3,7 @@ from subprocess import call
def prepare():
"Prepare leds"
- call("rainbow all enable FFFFFF", shell=True)
+ call("rainbow all enable 000000", shell=True)
def clear():
@@ -32,5 +32,6 @@ def output(data):
args = ['rainbow']
for i in range(0, 12):
args.append(__MAP__[i])
+ args.append('enable')
args.append(str(data[i]))
call(args)