There are single LED, stripes with 8 leds, round circles with 24 leds, etc. Rainbow leds come in different forms and shapes. * The x should be replaced by a numeric value from 0-7. The pin number of the port pin which is connected to the DI of the rainbow led(stripe). The name of the PORT which is connected to the DI of the rainbow led(stripe). Thus RB0_LEN=8 will create an array of RAINBOW0_(24).įor RGBW LEDS, the array will have a length of len * 4 to store the additional white color. A byte array named RAINBOW0_ will be created with a size of len * 3. Each LED is made of 3 colors : R(ed), G(reen), and B(lue). Notice that 1 more byte internal memory is needed for each led. Leds like WS2811/WS2812 with GRB order.Ĥ - RGBW leds like SK6812RGBW. 32 bits of data are sent.ģ - The default. RGBW leds have an additional white led and are mapped RGBW. Each channel drives a port pin.Īn optional parameter that has to be defined second when used. This is a numeric value in the range from 1-16.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |