Add support for Printrbot Neopixel RGBW strip.
Connected as described at http://printrbot.com/shop/led-strip/ Based on patch by Kelly Anderson <kelly@xilka.com> at http://www.xilka.com/printrbot/marlin/1.1.4/20170707/
This commit is contained in:
committed by
Scott Lahteine
parent
a059e95463
commit
890e7a16a9
@ -1548,6 +1548,14 @@
|
||||
#define RGB_LED_W_PIN -1
|
||||
#endif
|
||||
|
||||
// Support for Adafruit Neopixel LED driver
|
||||
//#define NEOPIXEL_RGBW_LED
|
||||
#if ENABLED(NEOPIXEL_RGBW_LED)
|
||||
#define NEOPIXEL_PIN 4 // D4 (EXP2-5 on Printrboard)
|
||||
#define NEOPIXEL_PIXELS 3
|
||||
//#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Printer Event LEDs
|
||||
*
|
||||
@ -1559,7 +1567,7 @@
|
||||
* - Change to green once print has finished
|
||||
* - Turn off after the print has finished and the user has pushed a button
|
||||
*/
|
||||
#if ENABLED(BLINKM) || ENABLED(RGB_LED) || ENABLED(RGBW_LED) || ENABLED(PCA9632)
|
||||
#if ENABLED(BLINKM) || ENABLED(RGB_LED) || ENABLED(RGBW_LED) || ENABLED(PCA9632) || ENABLED(NEOPIXEL_RGBW_LED)
|
||||
#define PRINTER_EVENT_LEDS
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user