turn autowrite on
This commit is contained in:
parent
c96d21b66c
commit
4c2af76b6c
1 changed files with 1 additions and 1 deletions
2
leds.py
2
leds.py
|
@ -252,7 +252,7 @@ class LightStrip:
|
||||||
# Emulate the old behavior of using RPi.GPIO if we haven't been given
|
# Emulate the old behavior of using RPi.GPIO if we haven't been given
|
||||||
# an explicit GPIO interface to use
|
# an explicit GPIO interface to use
|
||||||
|
|
||||||
self.np = neopixel.NeoPixel(data_pin, string_length, brightness = brightness, auto_write=False, pixel_order = pixel_order)
|
self.np = neopixel.NeoPixel(data_pin, string_length, brightness = brightness, auto_write=True, pixel_order = pixel_order)
|
||||||
self.pattern = defaultPattern
|
self.pattern = defaultPattern
|
||||||
self.cur_tick = 0
|
self.cur_tick = 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue