kopia lustrzana https://github.com/blaz-r/pi_pico_neopixel
Update default delay to 300 microseconds per Adafruit
https://adafruit.github.io/Adafruit_NeoPixel/html/class_adafruit___neo_pixel.html says we need 300 microseconds delay. This definitely helped glitching on my setup!pull/18/head
rodzic
8012e3b6a6
commit
093b30ea17
|
@ -73,7 +73,7 @@ class Neopixel:
|
|||
# 'brightnessvalue', # brightness scale factor 1..255
|
||||
# ]
|
||||
|
||||
def __init__(self, num_leds, state_machine, pin, mode="RGB", delay=0.0001):
|
||||
def __init__(self, num_leds, state_machine, pin, mode="RGB", delay=0.0003):
|
||||
"""
|
||||
Constructor for library class
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue