all ive had are headaches since i got this stuff, im seriously at the point of just throwing it all away and counting it as a loss.
ive cut down a ws2812b strip to 59 leds and plugged the 5v and ground to the 5v and ground on the arduino, ive connected the data line to pin 5. it was working for a second, i was able to light up all the leds(well the first 10 or so, im assuming i didnt have enough amperage from usb to power the rest)
and well, it was working fine, i decided to unplug it from the pc and plug it into my psu (5v/10a) through the barrel jack, i did and i got nothing, and now plugging it back into usb on the pc i also get nothing.
ive tried reuploading the sketch, plugging data into different pins, hitting the reset button, unplugging and plugging it back in, and i get nothing at all.
this is like hour five or so that ive been tinkering with this thing, and every time i get it working sort of right i get excited and then im let down as it completely stops working again and again.
my goal is to get 59 led's of one color, then the next 59 another, so on and so forth until i have five different colors (red, blue, green, white, purple)
please help also, i forgot to mention this is an uno board.
EDIT: sorry for wasting board space, one of my wires is bad.
#include <FastLED.h>
#define LED_PIN 5
#define NUM_LEDS 20
CRGB leds[NUM_LEDS];
void setup() {
FastLED.addLeds<WS2812B, LED_PIN, GRB>(leds, NUM_LEDS);
}
void loop() {
leds[0] = CRGB(0,0,255);
leds[1] = CRGB(0,255,0);
leds[2] = CRGB(255,0,0);
leds[3] = CRGB(0,0,255);
leds[4] = CRGB(0,255,0);
leds[5] = CRGB(255,0,0);
leds[6] = CRGB(0,0,255);
leds[7] = CRGB(0,255,0);
leds[8] = CRGB(255,0,0);
leds[9] = CRGB(0,0,255);
leds[10] = CRGB(0,255,0);
leds[11] = CRGB(255,0,0);
FastLED.show();
delay(500);
}