I’d like to say i’m a fastspi user, but i really don’t get my head around the maths and the functions.
I’m using the Fast_SPI2, and i’m using the input from an adxl345 accelerometer to show a single led on a strip of ws2811
i can map the data from the adxl345 to be a number between 0 and 32 (the number of pixels on the ws2811 strip.
but i can’t see how to light a specific led.
memset(leds, 255, NUM_LEDS * sizeof(struct CRGB));
is what i’m messing around with!