littlespleen
u/littlespleen
Feed options
Hot
New
Top
View
Card
Compact
I found NeoPixelConnect worked great for ws2812b for my clock project
#include <NeoPixelConnect.h>
#define MYNUM_NEOPIXELS 60
// Create an instance of NeoPixelConnect and initialize it
// to use GPIO pin 4 (D12) as the control pin, for a string
// of 8 neopixels. Name the instance p
NeoPixelConnect p(4, MYNUM_NEOPIXELS, pio0, 0);
p.neoPixelSetValue(writehours,secpix,minpix,20,false);
p.neoPixelShow();