From 81d00db1b10a96cc483c05810bf8e5cf50480f7b Mon Sep 17 00:00:00 2001 From: blckmn Date: Sat, 24 Jun 2017 13:26:43 +1000 Subject: [PATCH] Increase frequency of led strip for higher resolution - tested as working off NERO motor pin 5 --- src/main/drivers/light_ws2811strip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/drivers/light_ws2811strip.h b/src/main/drivers/light_ws2811strip.h index db51d00edf..64967bc3b3 100644 --- a/src/main/drivers/light_ws2811strip.h +++ b/src/main/drivers/light_ws2811strip.h @@ -28,7 +28,7 @@ // number of bytes needed is #LEDs * 24 bytes + 42 trailing bytes) #define WS2811_DMA_BUFFER_SIZE (WS2811_DATA_BUFFER_SIZE + WS2811_DELAY_BUFFER_LENGTH) -#define WS2811_TIMER_MHZ 24 +#define WS2811_TIMER_MHZ 48 #define WS2811_CARRIER_HZ 800000 void ws2811LedStripInit(ioTag_t ioTag);