start socket after lights defined

This commit is contained in:
jane 2020-11-08 02:48:12 -05:00
parent 9fb1e00619
commit ee040dad58
1 changed files with 1 additions and 1 deletions

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()