Add support for an RGBW LED
This commit is contained in:
parent
e7746ffee4
commit
dac21ec680
27 changed files with 150 additions and 60 deletions
|
|
@ -1547,10 +1547,12 @@
|
|||
*
|
||||
*/
|
||||
//#define RGB_LED
|
||||
#if ENABLED(RGB_LED)
|
||||
//#define RGBW_LED
|
||||
#if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
|
||||
#define RGB_LED_R_PIN 34
|
||||
#define RGB_LED_G_PIN 43
|
||||
#define RGB_LED_B_PIN 35
|
||||
#define RGB_LED_W_PIN -1
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -1564,7 +1566,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)
|
||||
#if ENABLED(BLINKM) || ENABLED(RGB_LED) || ENABLED(RGBW_LED)
|
||||
#define PRINTER_EVENT_LEDS
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue