Sorry for the bad post but I fixed it myself, my problem was I wasn't define the data pin correctly I believe.
My new code:
// ************ libraries *********************** #include <FastLED.h>
// ************ Variables *********************** #define NUM_LEDS 50 #define LED_TYPE WS2812B //led strip type var #define COLOR_ORDER GRB //color order var #define NUM_LEDS 50 //number of leds var #define BRIGHTNESS 100 //brightness var
const int DATA_PIN = 7;
CRGB leds[NUM_LEDS];
// **********************************************************
void setup() {
delay(1000);
FastLED.addLeds<LED_TYPE,DATA_PIN,COLOR_ORDER>(leds, NUM_LEDS).setCorrection(TypicalLEDStrip); //initalizes LED strip
FastLED.setBrightness(BRIGHTNESS); //global brightness of LEDS
}
void loop()
{
for (int i = 0; i < NUM_LEDS; i++) { //sets first 50 LEDS ON
leds = CHSV (155, 255, 200);