![]() Please refer to their licensing documents as well. In order to function this library links to both the Adafruit NeoPixel library and the FastLED library. See the LICENSE file for more information. For FastLED, make sure the FastLED.addLeds function is set correctly for your LED strip I’ve used a WS2811/WS218 LED stip and the correct color order (RGB vs GRB) For NeoPixel, make sure the AdafruitNeoPixel strip line matches your hardware again: I used a WS2811/WS2812 and the correct colors (NEORGB in this case). This library is licensed under the terms of the MIT license. Additionally, because FastLED does not organize color data in memory based on the color channel order of the strip, animations that use the underlying LED data pointer ( uint8_t* getPixels()) may not function correctly.įor more information on the functional differences between the two libraries, see the documentation. We're no longer selling this pack of Trinket 3V+5V, we recommend our Trinket M0 which has better USB support, way faster processor, a ton more memory and CircuitPython support Be the life of your (hackerspace) party when you show up with this six-pack Get 6 Trinkets at 12 off - comes with 3 x 3V Trinkets, and 3 x 5V Trinkets. Limitationsĭue to FastLED's need for compile-time constants, the functions to change the LED count, LED pin, and color order are not implemented. Past these initial setup changes, this functions identically to the all-encompassing FastLED_NeoPixel class. Adafruit Industries, Unique & fun DIY electronics and kits Adafruit Pro Trinket - 5V 16MHz : ID 2000 - Deprecation Warning: The Pro Trinket bit-bang USB technique it uses doesn't work as well as it did in 2014, many modern computers won't work well. You must also pass the CLEDController reference created by the FastLED.addLeds() call to the begin() function in order for the class show() calls to work. This is a non-templated class which uses a pointer to the LED data rather than storing it internally. If you already have an existing CRGB array, or if you'd like to use an LED strip type other than NeoPixel (WS2812B), you can use the FastLED_NeoPixel_Variant class. ![]() FastLED_NeoPixel_Variant strip(leds, NUM_LEDS)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |