aboutsummaryrefslogtreecommitdiff
path: root/src/compileAndRun/pythonSupportFiles/LuxcenaNeo/Strip.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/compileAndRun/pythonSupportFiles/LuxcenaNeo/Strip.py')
-rw-r--r--src/compileAndRun/pythonSupportFiles/LuxcenaNeo/Strip.py10
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.")