Nol.A SDK Library 26.11.2
For IoT System Software Development
Loading...
Searching...
No Matches
Adafruit_NeoPixel.hpp File Reference

Public driver declarations and configuration constants. More...

#include <cox.h>

Classes

class  Adafruit_NeoPixel
 Buffered RGB/RGBW LED strip driver. Keep the object alive while using its buffer. More...

Macros

#define NEO_RGB   ((0 << 6) | (0 << 4) | (1 << 2) | (2))
 NeoPixel byte order: RGB. Combine with a NEO_KHZ* signaling rate.
#define NEO_RBG   ((0 << 6) | (0 << 4) | (2 << 2) | (1))
 NeoPixel byte order: RBG. Combine with a NEO_KHZ* signaling rate.
#define NEO_GRB   ((1 << 6) | (1 << 4) | (0 << 2) | (2))
 NeoPixel byte order: GRB. Combine with a NEO_KHZ* signaling rate.
#define NEO_GBR   ((2 << 6) | (2 << 4) | (0 << 2) | (1))
 NeoPixel byte order: GBR. Combine with a NEO_KHZ* signaling rate.
#define NEO_BRG   ((1 << 6) | (1 << 4) | (2 << 2) | (0))
 NeoPixel byte order: BRG. Combine with a NEO_KHZ* signaling rate.
#define NEO_BGR   ((2 << 6) | (2 << 4) | (1 << 2) | (0))
 NeoPixel byte order: BGR. Combine with a NEO_KHZ* signaling rate.
#define NEO_WRGB   ((0 << 6) | (1 << 4) | (2 << 2) | (3))
 NeoPixel byte order: WRGB. Combine with a NEO_KHZ* signaling rate.
#define NEO_WRBG   ((0 << 6) | (1 << 4) | (3 << 2) | (2))
 NeoPixel byte order: WRBG. Combine with a NEO_KHZ* signaling rate.
#define NEO_WGRB   ((0 << 6) | (2 << 4) | (1 << 2) | (3))
 NeoPixel byte order: WGRB. Combine with a NEO_KHZ* signaling rate.
#define NEO_WGBR   ((0 << 6) | (3 << 4) | (1 << 2) | (2))
 NeoPixel byte order: WGBR. Combine with a NEO_KHZ* signaling rate.
#define NEO_WBRG   ((0 << 6) | (2 << 4) | (3 << 2) | (1))
 NeoPixel byte order: WBRG. Combine with a NEO_KHZ* signaling rate.
#define NEO_WBGR   ((0 << 6) | (3 << 4) | (2 << 2) | (1))
 NeoPixel byte order: WBGR. Combine with a NEO_KHZ* signaling rate.
#define NEO_RWGB   ((1 << 6) | (0 << 4) | (2 << 2) | (3))
 NeoPixel byte order: RWGB. Combine with a NEO_KHZ* signaling rate.
#define NEO_RWBG   ((1 << 6) | (0 << 4) | (3 << 2) | (2))
 NeoPixel byte order: RWBG. Combine with a NEO_KHZ* signaling rate.
#define NEO_RGWB   ((2 << 6) | (0 << 4) | (1 << 2) | (3))
 NeoPixel byte order: RGWB. Combine with a NEO_KHZ* signaling rate.
#define NEO_RGBW   ((3 << 6) | (0 << 4) | (1 << 2) | (2))
 NeoPixel byte order: RGBW. Combine with a NEO_KHZ* signaling rate.
#define NEO_RBWG   ((2 << 6) | (0 << 4) | (3 << 2) | (1))
 NeoPixel byte order: RBWG. Combine with a NEO_KHZ* signaling rate.
#define NEO_RBGW   ((3 << 6) | (0 << 4) | (2 << 2) | (1))
 NeoPixel byte order: RBGW. Combine with a NEO_KHZ* signaling rate.
#define NEO_GWRB   ((1 << 6) | (2 << 4) | (0 << 2) | (3))
 NeoPixel byte order: GWRB. Combine with a NEO_KHZ* signaling rate.
#define NEO_GWBR   ((1 << 6) | (3 << 4) | (0 << 2) | (2))
 NeoPixel byte order: GWBR. Combine with a NEO_KHZ* signaling rate.
#define NEO_GRWB   ((2 << 6) | (1 << 4) | (0 << 2) | (3))
 NeoPixel byte order: GRWB. Combine with a NEO_KHZ* signaling rate.
#define NEO_GRBW   ((3 << 6) | (1 << 4) | (0 << 2) | (2))
 NeoPixel byte order: GRBW. Combine with a NEO_KHZ* signaling rate.
#define NEO_GBWR   ((2 << 6) | (3 << 4) | (0 << 2) | (1))
 NeoPixel byte order: GBWR. Combine with a NEO_KHZ* signaling rate.
#define NEO_GBRW   ((3 << 6) | (2 << 4) | (0 << 2) | (1))
 NeoPixel byte order: GBRW. Combine with a NEO_KHZ* signaling rate.
#define NEO_BWRG   ((1 << 6) | (2 << 4) | (3 << 2) | (0))
 NeoPixel byte order: BWRG. Combine with a NEO_KHZ* signaling rate.
#define NEO_BWGR   ((1 << 6) | (3 << 4) | (2 << 2) | (0))
 NeoPixel byte order: BWGR. Combine with a NEO_KHZ* signaling rate.
#define NEO_BRWG   ((2 << 6) | (1 << 4) | (3 << 2) | (0))
 NeoPixel byte order: BRWG. Combine with a NEO_KHZ* signaling rate.
#define NEO_BRGW   ((3 << 6) | (1 << 4) | (2 << 2) | (0))
 NeoPixel byte order: BRGW. Combine with a NEO_KHZ* signaling rate.
#define NEO_BGWR   ((2 << 6) | (3 << 4) | (1 << 2) | (0))
 NeoPixel byte order: BGWR. Combine with a NEO_KHZ* signaling rate.
#define NEO_BGRW   ((3 << 6) | (2 << 4) | (1 << 2) | (0))
 NeoPixel byte order: BGRW. Combine with a NEO_KHZ* signaling rate.
#define NEO_KHZ800   0x0000
 Select an 800 kHz NeoPixel data stream.
#define NEO_KHZ400   0x0100
 Select a 400 kHz NeoPixel data stream.

Typedefs

typedef uint16_t neoPixelType
 Encoded pixel byte order and signaling rate, combining NEO_* and NEO_KHZ* constants.

Detailed Description

Public driver declarations and configuration constants.