commit
30c4f501fc
@ -126,7 +126,9 @@
|
|||||||
#define PIXELFEATURE4 DotStarLbgrFeature
|
#define PIXELFEATURE4 DotStarLbgrFeature
|
||||||
#elif defined(USE_LPD8806)
|
#elif defined(USE_LPD8806)
|
||||||
#define PIXELFEATURE3 Lpd8806GrbFeature
|
#define PIXELFEATURE3 Lpd8806GrbFeature
|
||||||
#define PIXELFEATURE4 Lpd8806GrbFeature
|
#elif defined(USE_WS2801)
|
||||||
|
#define PIXELFEATURE3 NeoRbgFeature
|
||||||
|
#define PIXELFEATURE4 NeoRbgFeature
|
||||||
#elif defined(USE_TM1814)
|
#elif defined(USE_TM1814)
|
||||||
#define PIXELFEATURE3 NeoWrgbTm1814Feature
|
#define PIXELFEATURE3 NeoWrgbTm1814Feature
|
||||||
#define PIXELFEATURE4 NeoWrgbTm1814Feature
|
#define PIXELFEATURE4 NeoWrgbTm1814Feature
|
||||||
@ -276,7 +278,7 @@ public:
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case NeoPixelType_Grbw: {
|
case NeoPixelType_Grbw: {
|
||||||
#ifdef USE_LPD8806
|
#if defined(USE_LPD8806) || defined(USE_WS2801)
|
||||||
_pGrbw->SetPixelColor(indexPixel, RgbColor(color.R,color.G,color.B));
|
_pGrbw->SetPixelColor(indexPixel, RgbColor(color.R,color.G,color.B));
|
||||||
#else
|
#else
|
||||||
_pGrbw->SetPixelColor(indexPixel, color);
|
_pGrbw->SetPixelColor(indexPixel, color);
|
||||||
|
Loading…
Reference in New Issue
Block a user