start socket after lights defined

This commit is contained in:
jane 2020-11-08 02:48:12 -05:00
parent 9fb1e00619
commit ee040dad58

View file

@ -63,9 +63,9 @@ def socket_loop():
def loop():
socket_thread = threading.Thread(target=socket_loop)
socket_thread.start()
lcd = lcd_manager.Adafruit_CharLCD()
this.lights = light_manager.LightStrip()
socket_thread.start()
while True:
logger.debug("loop")
this.lights.tick()