I am new to FastLED and set up a basic set of MOKUNGIT WS2811,

I am new to FastLED and set up a basic set of MOKUNGIT WS2811, however I’m having trouble getting even the basic tutorial to be consistent. I’m trying to set my first 5 leds to red, which works, but only like 1 out of 5 times in my loop().

You can see it hit all red every like 2-3 seconds in this video: https://photos.app.goo.gl/rK9c2283aKT6bmYq6

Any advice or pointers would be much appreciated!

My code is below:

#include <FastLED.h>
#define NUM_LEDS 50
#define DATA_PIN 5

// Define the array of leds
CRGB leds[NUM_LEDS];


void setup() {
  FastLED.addLeds<WS2811, DATA_PIN, RGB>(leds, NUM_LEDS);
}

void loop() {
  for(int i = 0; i < 5; i++) {
    leds[i] = CRGB::Red;  
  }
  FastLED.show(); 
  delay(500);
}

Is the controller ground, power supply ground, and LEDs ground all connected together?

@marmil BOOOM!! THAT WAS IT!!! THANK YOU!