turn autowrite on

This commit is contained in:
janeptrv 2020-11-06 20:27:10 -05:00
parent c96d21b66c
commit 4c2af76b6c

View file

@ -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