Hello Again, First off, I'm using the Teensy 3.2 and TM1803 chips with the newest

Hello Again,
First off, I’m using the Teensy 3.2 and TM1803 chips with the newest FastLED library.

I am having some trouble with some random flashes happening while running some code. For one I light the whole strip up as white, leave it and it will randomly flash at me. I also run through a blue down the strip and it will randomly flash the whole strip green.

I’ve got a strip of 150 IC’s but I am going to be running it on a larger strip of 800. It works fine without any of the flashing when I have it set for the 150 but I set the leds array to 800 to see what the speed is like for it (with only the 150 attached). I’m thinking it could be some kind of data corruption? Has anyone had something like this occur?

How I change the strip color (call this once)
for(int strip = 0; strip < NUM_CONT_STRIPS; strip++) {
fill_solid(leds[strip], numLeds[strip], CHSV (160, 0, 255));
}
FastLED.show();

Moving the blue down the strips:
for (int strip = 0; strip < NUM_STRIPS; strip++) {
if (strip % 2 == 0) {
leds[strip][0] = CHSV(140, 252, upFade);
} else {
leds[strip][numLeds[strip]-1] = CHSV(140, 252, upFade);
}
}

FastLED.show();
CRGB temp;
for (int strip = 0; strip < NUM_STRIPS; strip++) {
if (strip % 2 == 0) { // start to end (positive)
for (int dot = 0; dot < numLeds[strip]; dot++){
temp = leds[strip][numLeds[strip]-1];
leds[strip][numLeds[strip]-1] = leds[strip][dot];
leds[strip][dot] = temp;
}
} else { // end to start (negative)
for (int dot = (numLeds[strip] - 1); dot > - 1; dot–) {
temp = leds[strip][0];
leds[strip][0] = leds[strip][dot];
leds[strip][dot] = temp;
}
}
}

Please post the entirety of your code on http://gist.github.com - without seeing how you’re defining things and calling setup, there’s not a lot I can do yet.

I had trimmed it a bit for the first comment this leaves in everything as is. I know the while in the loop is not necessary but I was using a time module to turn the lights on at a certain time but I just pulled it out during debugging

Curious what you’re using for power, and how you have it wired up to the strip?

I wonder if you’re running into problems with interrupts (they’re tuned for the WS2812’s response times, but the TM1803’s are pretty shitty chips, I wouldn’t be surprised if they’re worse) - try adding:

#define FASTLED_ALLOW_INTERRUPTS 0

before you #include “FastLED.h”

Also - while you’ve defined NUM_LEDS_PER_STRIP to be 800 - you aren’t actually doing anything with NUM_LEDS_PER_STRIP anywhere. You’ve only told FastLED that the first strip has 100 leds and the second strip has 50, and that doesn’t change.

I am using a 12V supply that can provide up to 300W, each strip of 50 IC’s is individually powered.

adding the #define did not solve the issue still only happening when doing 800.

I use NUM_LEDS_PER_STRIP to define the leds array as if it is the largest strip I have (line 29). When I test out 800 I change line 16 to be {800, 50}.

Took a video, error happens at about 9 seconds in: FastLED Flash Error - YouTube
The middle strip is connected to the strip on the left at the end so there are just the strip on the left and the strip on the right are connected to the Teensy at the bottom of the video

I’ve switched from using CHSV colors to only using CRGB and it seems to have fixed the problem. So it looks like there is some fault in the CHSV somewhere.