diff options
author | Jakob Stendahl <jakob.stendahl@outlook.com> | 2018-12-04 16:49:28 +0100 |
---|---|---|
committer | Jakob Stendahl <jakob.stendahl@outlook.com> | 2018-12-04 16:49:28 +0100 |
commit | 2e83511edaf9518537cb11587967ef2545ef790d (patch) | |
tree | 9d3ec26ea642ff2a2dda994ae6c3663b736d3fb1 /src | |
parent | 7ec685de6e441af1f614bb9d18e25c047d21466b (diff) | |
download | Luxcena-Neo-2e83511edaf9518537cb11587967ef2545ef790d.tar.gz Luxcena-Neo-2e83511edaf9518537cb11587967ef2545ef790d.zip |
:construction: Add blank LED's on start, and debug pixel-matrix
Diffstat (limited to 'src')
-rw-r--r-- | src/compileAndRun/pythonSupportFiles/LuxcenaNeo/Strip.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/compileAndRun/pythonSupportFiles/LuxcenaNeo/Strip.py b/src/compileAndRun/pythonSupportFiles/LuxcenaNeo/Strip.py index 8feca0e..e4e355a 100644 --- a/src/compileAndRun/pythonSupportFiles/LuxcenaNeo/Strip.py +++ b/src/compileAndRun/pythonSupportFiles/LuxcenaNeo/Strip.py @@ -29,9 +29,17 @@ class Strip: self.strip.begin() + # Blank out all the LEDs + i = 0 + while True: + self.strip.setPixelColor(i, 0) + i += 1 + self.strip.show() + # Setup matrix + pixelMatrix = Matrix(self.segments, stripConf["matrix"]) try: - pixelMatrix = Matrix(self.segments, stripConf["matrix"]) + print("TESTING") except: print("Something went wrong while setting up your self-defined matrix.") |