@@ -287,9 +287,10 @@ class RGB(Extension):
|
|||||||
Takes an RGB or RGBW and displays it on all LEDs/Neopixels
|
Takes an RGB or RGBW and displays it on all LEDs/Neopixels
|
||||||
:param rgb: RGB or RGBW
|
:param rgb: RGB or RGBW
|
||||||
'''
|
'''
|
||||||
self.pixels.fill(rgb)
|
for pixels in self.pixels:
|
||||||
if not self.disable_auto_write:
|
pixels.fill(rgb)
|
||||||
self.pixels.show()
|
if not self.disable_auto_write:
|
||||||
|
pixels.show()
|
||||||
|
|
||||||
def increase_hue(self, step=None):
|
def increase_hue(self, step=None):
|
||||||
'''
|
'''
|
||||||
|
|||||||
Reference in New Issue
Block a user