aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compileAndRun/pythonSupportFiles/LuxcenaNeo/Strip.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compileAndRun/pythonSupportFiles/LuxcenaNeo/Strip.py b/src/compileAndRun/pythonSupportFiles/LuxcenaNeo/Strip.py
index e4e355a..b7519df 100644
--- a/src/compileAndRun/pythonSupportFiles/LuxcenaNeo/Strip.py
+++ b/src/compileAndRun/pythonSupportFiles/LuxcenaNeo/Strip.py
@@ -34,6 +34,7 @@ class Strip:
while True:
self.strip.setPixelColor(i, 0)
i += 1
+ if (i > self.LED_COUNT): break
self.strip.show()
# Setup matrix