diff options
author | Jakob Stendahl <jakob.stendahl@outlook.com> | 2018-12-04 16:52:21 +0100 |
---|---|---|
committer | Jakob Stendahl <jakob.stendahl@outlook.com> | 2018-12-04 16:52:21 +0100 |
commit | 35697c7a3d643d02640a00b0ea7f3c892e9ca2c6 (patch) | |
tree | 5c0a992ec0faffee4046ac0d5a73a85ff13a64c2 /src/compileAndRun/pythonSupportFiles/LuxcenaNeo/Strip.py | |
parent | 2e83511edaf9518537cb11587967ef2545ef790d (diff) | |
download | Luxcena-Neo-35697c7a3d643d02640a00b0ea7f3c892e9ca2c6.tar.gz Luxcena-Neo-35697c7a3d643d02640a00b0ea7f3c892e9ca2c6.zip |
:construction: Endless loop while turning off LEDs
Diffstat (limited to 'src/compileAndRun/pythonSupportFiles/LuxcenaNeo/Strip.py')
-rw-r--r-- | src/compileAndRun/pythonSupportFiles/LuxcenaNeo/Strip.py | 1 |
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 |