Could anybody explain how the setCorrection is used?

Could anybody explain how the setCorrection is used?

I am using a ws2812 led strip with boblight. All colors are reproduced correct by the leds. But when the leds should display black (so if they should not show any color) they are white. So instead of not glowing they are glowing white.

setCorrection is used to color correct your LED strip, for example if it looked to green you could do this (exaggerated example) to have it remove 50% of the green.

FastLED.addLeds<LPD8806, DATA_PIN, CLOCK_PIN, RGB>(leds, NUM_LEDS).setCorrection(255,128,255);

You’ve confirmed RGB is correctly with the calibrate example?
FastLED/FastLED/blob/master/examples/RGBCalibrate/RGBCalibrate.ino

What controller are you using, and can you post some example code to pastebin?

Thx for your reply! Im at work today, will post tomorrow

Rgb is correct (checked with rgbcalibrate.ino)

Im using an arduino uno

The sketch: pastebin.com/nW7cVjh3

www.pastebin.com/nW7cVjh3

Do i undertand you right that setcorrection cant solve my problem?

I don’t believe setCorrection can fix what you’re describing.
Are you using WS2812 or WS2812B leds? You said WS2812 above, but in your code you specified WS2812B. Did you try switching that? Or try specifying some different LED chip types (it won’t hurt anything). Maybe the strip you bought was mislabeled and it’s something else?

So just to confirm, if you run this simple sketch, is leds[0] off, and leds[1] on, or reversed?
http://pastebin.com/hQDe9Dnq

Website: http://www.worlduniqueen.com/

Im using definitely the ws2812b not ws2812 leds as mentioned in my first post. My fault.

Your sketch was a great idea. The colors of the leds match to the order in your sketch so i assume my problem isnt the library. The error must be within boblight…

At least you know where to look now! Share your cool project when you get it sorted out.

Ok! Thanks for your help!