From 2c5b1fcef6b8347901146ff1e6ff6277693a53a9 Mon Sep 17 00:00:00 2001 From: jrhoffa Date: Thu, 29 Dec 2022 23:41:47 -0800 Subject: [PATCH] Use timing values more accurate to internal clock --- main/rmt_leds.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/rmt_leds.cpp b/main/rmt_leds.cpp index 8b19c18..dd8865c 100644 --- a/main/rmt_leds.cpp +++ b/main/rmt_leds.cpp @@ -7,7 +7,7 @@ static const char *TAG = "rmt_leds"; #include "rmt_leds.hpp" -#define WS2811_PULSE_WIDTH_NS 833 +#define WS2811_PULSE_WIDTH_NS 825 #define WS2811_RESET_WIDTH_US 300 // Each pulse is divided into thirds - two high / one low for 1, vice versa for 0