disable NP autoshow
This commit is contained in:
		
							parent
							
								
									189f0d4bbb
								
							
						
					
					
						commit
						c1951402d7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -43,7 +43,7 @@ class leds:
 | 
			
		|||
 | 
			
		||||
    def __update_leds(self):
 | 
			
		||||
        self.mcu.neopixel_fill(
 | 
			
		||||
            r=self.ambient_light[0], g=self.ambient_light[1], b=self.ambient_light[2])
 | 
			
		||||
            r=self.ambient_light[0], g=self.ambient_light[1], b=self.ambient_light[2], auto_show=False)
 | 
			
		||||
        if self.headlight:
 | 
			
		||||
            for led in HEADLIGHT_LEDS:
 | 
			
		||||
                self.mcu.neo_pixel_set_value(led, self.headlight * 255, self.headlight * 255,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue