remove debug stuff

This commit is contained in:
jane 2020-11-08 02:47:10 -05:00
parent 6e72ca1999
commit 9fb1e00619
3 changed files with 2 additions and 4 deletions

View file

@ -66,8 +66,6 @@ def loop():
socket_thread.start() socket_thread.start()
lcd = lcd_manager.Adafruit_CharLCD() lcd = lcd_manager.Adafruit_CharLCD()
this.lights = light_manager.LightStrip() this.lights = light_manager.LightStrip()
this.lights
this.lights.set_pattern(pattern.pat)
while True: while True:
logger.debug("loop") logger.debug("loop")
this.lights.tick() this.lights.tick()

View file

@ -6,7 +6,7 @@ import pattern
def defaultPattern(n, t, pv): def defaultPattern(n, t, pv):
return (255, 255, 255) return (t % 255, 255, 255)
class LightStrip: class LightStrip:

View file

@ -1,4 +1,4 @@
debug_statements = True debug_statements = False
def debug(msg): def debug(msg):
if debug_statements: if debug_statements: