start socket after lights defined
This commit is contained in:
		
							parent
							
								
									9fb1e00619
								
							
						
					
					
						commit
						ee040dad58
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								leds.py
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								leds.py
									
										
									
									
									
								
							|  | @ -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() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue