kopia lustrzana https://github.com/blaz-r/pi_pico_neopixel
commit
30f8314330
|
@ -326,9 +326,9 @@ class Neopixel:
|
||||||
cut = 8
|
cut = 8
|
||||||
if self.W_in_mode:
|
if self.W_in_mode:
|
||||||
cut = 0
|
cut = 0
|
||||||
sm_put = self.sm.put
|
|
||||||
for pixval in self.pixels:
|
self.sm.put(self.pixels, cut)
|
||||||
sm_put(pixval, cut)
|
|
||||||
time.sleep(self.delay)
|
time.sleep(self.delay)
|
||||||
|
|
||||||
def fill(self, rgb_w, how_bright=None):
|
def fill(self, rgb_w, how_bright=None):
|
||||||
|
|
Ładowanie…
Reference in New Issue