From 12f16638ff917199de90088336193391de2e124a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 29 Jan 2019 17:24:30 +0100 Subject: slave: always enable led we control --- turtetris_slave/leds.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3