I'm using fastLED with NeoPixel Jewel-7 RGBW 2860.

I’m using fastLED with NeoPixel Jewel-7 RGBW 2860. The first issue is that I can not get the right color on the right pixel. There are 7 leds on the pad, and I started from the sample code of just turning on the RED, and what I get is Red for first center LED, then Green on adjacent LED, then blue, and so on. The second issue is that I have to define the LED number to 9 to get all the leds to light some random color. When I put 7, I dont get the last LED to lightup.
I am using Arduino UNO, here is the code

#include “FastLED.h”

#define DATA_PIN (6)
#define NUM_JEWELS (1)
#define JEWEL_LEDS (9)
#define NUM_LEDS (NUM_JEWELS * JEWEL_LEDS)

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

void setup()
{
FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);
FastLED.clear();
fill_solid(leds, JEWEL_LEDS, CRGB::Black);
FastLED.show();
}

void loop()
{
FastLED.setBrightness(15);
for(int i = 0; i < JEWEL_LEDS; i++)
{
leds[i] = CRGB::Red;
FastLED.show();
delay(1000);
// Now turn the LED off, then pause
leds[i] = CRGB::Black;
FastLED.show();
delay(500);
}
}

FYI: I have the same setup using fastLED with Neopixel RGB 144LED strip 1506. Everything works perfect till I remove the strip and put the Jewel and update values for LED array.

Any help is greatly appreciated…

FastLED isn’t setup to work with RGBW leds (yet), only RGB.

I don’t plan on using white LED or color. Is there a way around this to get me all colors except white? thanks in advance…

There’s no released work around that I know of at this time to allow FastLED to correctly send data to RGBW pixels.

The Adafruit library will work with these I think, but not FastLED, though I think I saw posts from Daniel about them a month or some odd time ago.

Still working on the support - because of how things are done in FastLED, as well as what is done, adding support for rgbw is not trivial.

Thanks for all your replies. I wanted to use FastLED so I can carryover my old code. I’m switching to Adafruit. BTW change FastLED api name to FastLEDRocks ;).