more debugging
This commit is contained in:
		
							parent
							
								
									88ed80b17f
								
							
						
					
					
						commit
						ddee6c8ac7
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -25,6 +25,7 @@ class LightStrip: | ||||||
|     n = np.n |     n = np.n | ||||||
|     for i in range(n): |     for i in range(n): | ||||||
|       col = self.pattern(i, t) |       col = self.pattern(i, t) | ||||||
|  |       logging.debug("TEST VALUES: np {} col {} same {}".format(np[i], col, np[i] != col)) | ||||||
|       if np[i] != col: |       if np[i] != col: | ||||||
|         np[i] = col |         np[i] = col | ||||||
|         logging.debug("CHANGE COLOR OF PIXEL {} TO {} ON TICK {}".format(i, col, t)) |         logging.debug("CHANGE COLOR OF PIXEL {} TO {} ON TICK {}".format(i, col, t)) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue