diff options
author | Karel Kočí <karel.koci@nic.cz> | 2019-01-29 17:24:30 +0100 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2019-01-29 17:24:30 +0100 |
commit | 12f16638ff917199de90088336193391de2e124a (patch) | |
tree | 9dfbb3eff946794520628ef7e6b86147b65b6fa9 /turtetris_slave/leds.py | |
parent | 03a7fe53f739adee462bbdef044fc2071f090bdf (diff) | |
download | turris-tetris-1.3.1.tar.gz turris-tetris-1.3.1.tar.bz2 turris-tetris-1.3.1.zip |
Diffstat (limited to 'turtetris_slave/leds.py')
-rw-r--r-- | turtetris_slave/leds.py | 3 |
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) |