diff --git a/leds.py b/leds.py index f945bcc..8d49b27 100644 --- a/leds.py +++ b/leds.py @@ -66,8 +66,6 @@ def loop(): socket_thread.start() lcd = lcd_manager.Adafruit_CharLCD() this.lights = light_manager.LightStrip() - this.lights - this.lights.set_pattern(pattern.pat) while True: logger.debug("loop") this.lights.tick() diff --git a/light_manager.py b/light_manager.py index 789b9e7..50eb6d0 100644 --- a/light_manager.py +++ b/light_manager.py @@ -6,7 +6,7 @@ import pattern def defaultPattern(n, t, pv): - return (255, 255, 255) + return (t % 255, 255, 255) class LightStrip: diff --git a/logger.py b/logger.py index d1a2666..f2a6a9f 100644 --- a/logger.py +++ b/logger.py @@ -1,4 +1,4 @@ -debug_statements = True +debug_statements = False def debug(msg): if debug_statements: