From 093b30ea17cb181ab152428623e3c3c8ea80edb4 Mon Sep 17 00:00:00 2001 From: Max Carlson <> Date: Fri, 2 Feb 2024 15:58:53 +0200 Subject: [PATCH] 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! --- neopixel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neopixel.py b/neopixel.py index 6bb00a4..71e52ea 100644 --- a/neopixel.py +++ b/neopixel.py @@ -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