WS2812B with FastLED shows only 1 first led

I Believe I figured it out.

In my code a post above I believe I was having issues with the code signal being interrupted. Through the many other examples I saw of people having this issue online some said eeprom, some said wifi, some said mqtt. I believe all of those deal with locally stored memory for settings hence using an interrupt to kick off a function that updates the local memory. Someone correct me if I am wrong I would love to have a bit more insight on eeprom functions as I struggle with those working correctly sometimes as well.

I added "FastLED.delay(20)" after led assignment and before "FastLED.show()". my lights are now working fine while connected to wifi. I will keep building my code and I find out more I will update but hopefully this solves your problem.

for (int led = 0; led < NUM_LEDS; led++)
  {
    leds[led].setRGB(0, 0, 0);
  }
  FastLED.delay(20);
  FastLED.show();
1 Like