Different NEOPIXEL types
Same as #7728 but for 2.0.x, Lot of cleanup and remove references in whole code to other "LED files" than leds.h. Now will be much easier to add next drivers/libraries. e.g. FastLED. But bad news, currently FastLED is suporting only RGB devices (no RGBW)
This commit is contained in:
committed by
Scott Lahteine
parent
b30b55307c
commit
a11e6a1022
@ -796,7 +796,7 @@ void setup() {
|
||||
OUT_WRITE(STAT_LED_BLUE_PIN, LOW); // turn it off
|
||||
#endif
|
||||
|
||||
#if ENABLED(NEOPIXEL_RGBW_LED)
|
||||
#if ENABLED(NEOPIXEL_LED)
|
||||
SET_OUTPUT(NEOPIXEL_PIN);
|
||||
setup_neopixel();
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user