APA102 Huh?
Today I decided to hook up my Teensy3.1 to a roll of APA’s from Adafruit. I started with a fresh download of the library this morning, and uploaded the 100line demo sketch. And this is what I got in the video.
In my attempt to figure this out I have tried the following:
confirmed the correct data and sck pin are to the LEDs (using hardware SPI)
tried 2 different power supplies with no alleviation
applied power to both ends of the strip
tried using bitbanging on 23, 22
changed NUM_LEDS and various other sketches and still no alleviation.
EDIT: the issue was related to the data rate for the SPI bus. Adafruit APA’s seem to freak out a bit when talking too fast to them.
The first 30 LEDs are fine, then after that, they start to flicker but still show the correct color. About the 60 mark the data is corrupted and nothing but white and flickery to the end.
Try changing to a lower clock speed - some APA102’s have issues running at the max SPI data rate - FastLED.addLeds<APA102,DATA_PIN,CLOCK_PIN,DATA_RATE_MHZ(12)>(leds, NUM_LEDS);
(Note - I’m currently running 784 APA102 leds off of a single Teensy 3.1)
Also you may need to inject power in the middle there.
Also also - double check the solder joints at the 30 and 60 led marks - I remember someone mentioning that the join at those points was not great on strips that they had received.