aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Stendahl <jakob.stendahl@outlook.com>2018-12-04 16:52:21 +0100
committerJakob Stendahl <jakob.stendahl@outlook.com>2018-12-04 16:52:21 +0100
commit35697c7a3d643d02640a00b0ea7f3c892e9ca2c6 (patch)
tree5c0a992ec0faffee4046ac0d5a73a85ff13a64c2
parent2e83511edaf9518537cb11587967ef2545ef790d (diff)
downloadLuxcena-Neo-35697c7a3d643d02640a00b0ea7f3c892e9ca2c6.tar.gz
Luxcena-Neo-35697c7a3d643d02640a00b0ea7f3c892e9ca2c6.zip
:construction: Endless loop while turning off LEDs
-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