remove debug stuff
This commit is contained in:
parent
6e72ca1999
commit
9fb1e00619
3 changed files with 2 additions and 4 deletions
2
leds.py
2
leds.py
|
@ -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()
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
debug_statements = True
|
debug_statements = False
|
||||||
|
|
||||||
def debug(msg):
|
def debug(msg):
|
||||||
if debug_statements:
|
if debug_statements:
|
||||||
|
|
Loading…
Reference in a new issue