Hey Everyone,
First post here so if it's in the wrong place please let me know. I bought some DotStar LED strips, half meter strips with 72 LED's. It looks gorgeous with some of the animations I've written for it however I'm seeing an issue with the first(last?) LED in the strip. While all other LED's work as programmed the first(last?) LED randomly flashes orange/red (even with two strips daisy chained it is only the very first(last?) LED in the entire chain). I've tested this with two different strips with the same result. Any ideas as to why this is happening? I understand it could be due to how complex my code is at the moment. I'm running this on a Teensy 4.1 with the prop shield, an OLED display, the UDA1334 DAC, and of course the LED strip. I've attached my code, take a look at the animations specifically (yes it's a bit convoluted atm but I plan to clean it up a little more later as this is just a test, I got a little carried away with the animations).
A note on hardware setup, the LED strip and flash chip are on the SPI bus (thanks to the prop shield) and the OLED is on the SPI1 bus. DAC is on I2S2 (I removed the IRQ pin to allow this to work.)
Any help with this would be greatly appreciated!!!