More.įill (uint32_t c=0, uint16_t first=0, uint16_t count=0)įill all or part of the NeoPixel strip with a color. Set a pixel's color using a 32-bit 'packed' RGB or RGBW value. Set a pixel's color using separate red, green, blue and white components (for RGBW NeoPixels only). SetPixelColor (uint16_t n, uint8_t r, uint8_t g, uint8_t b, uint8_t w) If using RGBW pixels, white will be set to 0. Set a pixel's color using separate red, green and blue components. SetPixelColor (uint16_t n, uint8_t r, uint8_t g, uint8_t b) Previous pin, if any, is set to INPUT and the new pin is set to OUTPUT. Set/change the NeoPixel output pin number. More.ĭeallocate Adafruit_NeoPixel object, set data pin back to INPUT. "Empty" NeoPixel constructor when length, pin and/or pixel type are not known at compile-time, and must be initialized later with updateType(), updateLength() and setPin(). NeoPixel constructor when length, pin and pixel type are known at compile-time. Class that stores state and functions for interacting with Adafruit NeoPixels and compatible devices.Īdafruit_NeoPixel (uint16_t n, int16_t pin=6, neoPixelType type= NEO_GRB+ NEO_KHZ800)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |