Ok, this is fasted related,

Ok, this is fasted related, but more like addressable led issues!

i’ve got the simplest of code to test with, and everything was working on the worktop, and then i installed… now the first 9 leds work, but not anything past.

i have voltage at the end point, i have voltage at the fail point, i have bypassed the failed leds but everything following the fail point seems to be broken!

nothing seems physically different (no visually blown leds, chips “look” ok, although they are encased in resin.

if I’m sending out code to 20 leds, and i swap them around, they don’t remember where in the chain they used to be do they? my understanding is that if my code is for 200 leds and i only put 20 on, only the first part of the code is used and the rest is just wasted time.

#include “FastLED.h”
#define NUM_LEDS 20
#define DATA_PIN 3
CRGB leds[NUM_LEDS];

void setup() {
FastLED.addLeds<WS2811, DATA_PIN, RBG>(leds, NUM_LEDS);
Serial.begin(38400);
LEDS.setBrightness(32);
}

void loop() {
Serial.print(“program running”);
for(int i = 0; i < NUM_LEDS; i++) {
leds[i] = CRGB::Blue;
FastLED.show();
}
delay(1000);
for(int i = 0; i < NUM_LEDS; i++) {
leds[i] = CRGB::Red;
FastLED.show();
}
delay(1000);
}

note to self, before cutting all leds extra lengths of wire, get it running 100% first…
it seems that one of the 20 has died!

Also - if you are going to call show inside the loop there, add a delay - otherwise don’t bother calling show until you’ve set all the led values.