kopia lustrzana https://github.com/blaz-r/pico_python_ws2812b
Update ws2812b.py
rodzic
dcde5515b3
commit
e45fba02ae
|
@ -67,7 +67,7 @@ class ws2812b:
|
|||
|
||||
self.pixels[pixel_num] = blue | red << 8 | green << 16
|
||||
|
||||
# rotate x pixels to te left
|
||||
# rotate x pixels to the left
|
||||
def rotate_left(self, num_of_pixels):
|
||||
if num_of_pixels == None:
|
||||
num_of_pixels = 1
|
||||
|
|
Ładowanie…
Reference in New Issue