tt
This commit is contained in:
		
							parent
							
								
									326407887b
								
							
						
					
					
						commit
						9feeaddd79
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		
							
								
								
									
										1
									
								
								leds.py
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								leds.py
									
										
									
									
									
								
							|  | @ -249,6 +249,7 @@ def defaultPattern(n, t): | |||
| 
 | ||||
| class LightStrip: | ||||
|   def __init__(self, data_pin = board.D18, string_length = 300, brightness = 1, pixel_order = neopixel.GRB): | ||||
|         self.data_pin = data_pin | ||||
| 
 | ||||
|         self.np = neopixel.NeoPixel(self.data_pin, string_length, brightness = brightness, auto_write=True, pixel_order = pixel_order) | ||||
|         self.pattern = defaultPattern | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue