I can control every LED and they can all have different colors, but it can only be one of the color values, either red or green or blue.
I use the FAST LED library and I think my code is fine.
#include "FastLED.h"
#define Num_LEDS 30
#define PIN 5
CRGBArray<Num_LEDS> leds;
uint8_t hue[Num_LEDS];
void setup() {
// put your setup code here, to run once:
FastLED.addLeds<NEOPIXEL, PIN>(leds, Num_LEDS);
for(int i = 0; i < Num_LEDS; i++)
}
void loop() {
// put your main code here, to run repeatedly:
for(int i = 0; i < Num_LEDS; i++)
{
leds[i] = CHSV(hue[i]++,255,255);
}
FastLED.show();
delay(10);
}