turn autowrite on

This commit is contained in:
janeptrv 2020-11-06 20:27:10 -05:00
parent c96d21b66c
commit 4c2af76b6c
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ class LightStrip:
# Emulate the old behavior of using RPi.GPIO if we haven't been given
# 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.cur_tick = 0