Cant seem to figure FastLED out

This is my code below can anyone help me out?

==============================

#include <FastLED.h>

#define NUM_LEDS 50

CRGB leds(NUM_LEDS);

const int ledPin = 7;

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

void loop()
{
leds[11] = CHSV (50, 255, 200);
FastLED.show();

}

You haven't told us your problem

Please remember to use code tags when posting code

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);

  • }*

}

AWOL:
Please remember to use code tags when posting code

Did you forget or are you just ignoring our rules here?
Did you read the how to use this forum sticky post?

Please respect the forum rules.

Do not cross post.

The two red wires are not connected, they are in separate rows.
50 pixels are too much load for the UNO.
Add a 470uF between 5V and GND.