Hi, I’m new and I recently implemented this library for some tests, but the library is too big and I need to have at least one list of commands with a minimal description, keyword.txt does not help me. can you tell me a help?
thank you
marmil
(Marc Miller)
November 27, 2017, 12:44am
2
Hello Federico. Start by reading the wiki.
You can also browse and search the code. There is some documentation scattered about in the code if you look.
http://fastled.io/docs/3.1/
If there is stuff you’re wondering about or if you have questions about something, ask here in the G+ group.
If you have code to share or discuss, please post to http://gist.github.com and share a link to the code.
thanks, I started reading. but ask for clarification to order the led. my WS2812B strip is GRB and not RGB, so the colors are inverted. How I have to declaration: FastLED.addLeds <WS2812B, 5> (leds, NUM_LEDS);
marmil
(Marc Miller)
November 28, 2017, 3:25pm
4
You can use this example to find (or confirm) the correct color order.
#include "FastLED.h"
////////////////////////////////////////////////////////////////////////////////////////////////////
//
// RGB Calibration code
//
// Use this sketch to determine what the RGB ordering for your chipset should be. Steps for setting up to use:
// * Uncomment the line in setup that corresponds to the LED chipset that you are using. (Note that they
// all explicitly specify the RGB order as RGB)
// * Define DATA_PIN to the pin that data is connected to.
// * (Optional) if using software SPI for chipsets that are SPI based, define CLOCK_PIN to the clock pin
// * Compile/upload/run the sketch
// You should see six leds on. If the RGB ordering is correct, you should see 1 red led, 2 green
// leds, and 3 blue leds. If you see different colors, the count of each color tells you what the
// position for that color in the rgb orering should be. So, for example, if you see 1 Blue, and 2
// Red, and 3 Green leds then the rgb ordering should be BRG (Blue, Red, Green).
This file has been truncated. show original