PCA9632 PWM color LED support

Add support for the PCA9632 PWM color LED driver used on the Ultimaker 2 and Wanhao Duplicator 6.
This commit is contained in:
dot-bob
2017-06-10 00:02:15 -06:00
committed by Scott Lahteine
parent 896dfa0577
commit 0bc66bf22c
35 changed files with 292 additions and 41 deletions

View File

@ -1602,6 +1602,9 @@
//define BlinkM/CyzRgb Support
//#define BLINKM
//define PCA9632 PWM LED driver Support
//#define PCA9632
/**
* RGB LED / LED Strip Control
*
@ -1639,7 +1642,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)
#if ENABLED(BLINKM) || ENABLED(RGB_LED) || ENABLED(RGBW_LED) || ENABLED(PCA9632)
#define PRINTER_EVENT_LEDS
#endif

View File

@ -1603,6 +1603,9 @@
//define BlinkM/CyzRgb Support
//#define BLINKM
//define PCA9632 PWM LED driver Support
//#define PCA9632
/**
* RGB LED / LED Strip Control
*
@ -1640,7 +1643,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)
#if ENABLED(BLINKM) || ENABLED(RGB_LED) || ENABLED(RGBW_LED) || ENABLED(PCA9632)
#define PRINTER_EVENT_LEDS
#endif

View File

@ -1592,6 +1592,9 @@
//define BlinkM/CyzRgb Support
//#define BLINKM
//define PCA9632 PWM LED driver Support
//#define PCA9632
/**
* RGB LED / LED Strip Control
*
@ -1629,7 +1632,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)
#if ENABLED(BLINKM) || ENABLED(RGB_LED) || ENABLED(RGBW_LED) || ENABLED(PCA9632)
#define PRINTER_EVENT_LEDS
#endif

View File

@ -1595,6 +1595,9 @@
//define BlinkM/CyzRgb Support
//#define BLINKM
//define PCA9632 PWM LED driver Support
//#define PCA9632
/**
* RGB LED / LED Strip Control
*
@ -1632,7 +1635,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)
#if ENABLED(BLINKM) || ENABLED(RGB_LED) || ENABLED(RGBW_LED) || ENABLED(PCA9632)
#define PRINTER_EVENT_LEDS
#endif

View File

@ -1600,6 +1600,9 @@
//define BlinkM/CyzRgb Support
//#define BLINKM
//define PCA9632 PWM LED driver Support
//#define PCA9632
/**
* RGB LED / LED Strip Control
*
@ -1637,7 +1640,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)
#if ENABLED(BLINKM) || ENABLED(RGB_LED) || ENABLED(RGBW_LED) || ENABLED(PCA9632)
#define PRINTER_EVENT_LEDS
#endif

View File

@ -1658,6 +1658,9 @@
//define BlinkM/CyzRgb Support
//#define BLINKM
//define PCA9632 PWM LED driver Support
//#define PCA9632
/**
* RGB LED / LED Strip Control
*
@ -1695,7 +1698,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)
#if ENABLED(BLINKM) || ENABLED(RGB_LED) || ENABLED(RGBW_LED) || ENABLED(PCA9632)
#define PRINTER_EVENT_LEDS
#endif