File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828#ifdef NEOPIXEL_RGBW
2929 typedef RgbwColor ColorDefinition;
3030#elif defined(SPILED_APA102)
31- typedef DotStarColor ColorDefinition;
31+ typedef RgbwColor ColorDefinition;
3232#else
3333 typedef RgbColor ColorDefinition;
3434#endif
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ void processData()
215215 #ifdef NEOPIXEL_RGBW
216216 frameState .color .W = input ;
217217 #elif defined(SPILED_APA102 )
218- frameState .color .Brightness = input ;
218+ frameState .color .W = input ;
219219 #endif
220220 frameState .addFletcher (input );
221221
@@ -240,7 +240,7 @@ void processData()
240240 }
241241
242242 #if defined(SPILED_APA102 )
243- frameState .color .Brightness = 0xFF ;
243+ frameState .color .W = 0xFF ;
244244 #endif
245245
246246 #ifdef NEOPIXEL_RGBW
Original file line number Diff line number Diff line change 7474#endif
7575
7676#ifdef SPILED_APA102
77- #define LED_DRIVER NeoPixelBus<DotStarBgrFeature , DotStarEsp32DmaHspiMethod>
77+ #define LED_DRIVER NeoPixelBus<DotStarLbgrFeature , DotStarEsp32DmaHspiMethod>
7878#elif SPILED_WS2801
7979 #define LED_DRIVER NeoPixelBus<NeoRbgFeature, NeoWs2801Spi2MhzMethod>
8080#endif
111111 #define LED_DRIVER2 NeoPixelBus<NeoGrbFeature, NeoEsp32I2s0Ws2812xMethod>
112112 #endif
113113 #elif SPILED_APA102
114- #define LED_DRIVER2 NeoPixelBus<DotStarBgrFeature , DotStarEsp32DmaHspiMethod>
114+ #define LED_DRIVER2 NeoPixelBus<DotStarLbgrFeature , DotStarEsp32DmaHspiMethod>
115115 #elif SPILED_WS2801
116116 #define LED_DRIVER2 NeoPixelBus<NeoRbgFeature, NeoWs2801Spi2MhzMethod>
117117 #endif
133133 #define LED_DRIVER2 NeoPixelBus<NeoGrbFeature, NeoEsp32I2s0Ws2812xMethod>
134134 #endif
135135 #elif SPILED_APA102
136- #define LED_DRIVER2 NeoPixelBus<DotStarBgrFeature , DotStarEsp32DmaVspiMethod>
136+ #define LED_DRIVER2 NeoPixelBus<DotStarLbgrFeature , DotStarEsp32DmaVspiMethod>
137137 #elif SPILED_WS2801
138138 #define LED_DRIVER2 NeoPixelBus<NeoRbgFeature, NeoWs2801Spi2MhzMethod>
139139 #endif
You can’t perform that action at this time.
0 commit comments