Add Velleman RGB-LED strip support to K8400

This commit is contained in:
Scott Lahteine 2018-05-02 08:10:48 -05:00
parent 410b023b50
commit 00e86f1c2d
2 changed files with 10 additions and 8 deletions

View file

@ -1822,13 +1822,14 @@
* LED Type. Enable only one of the following two options. * LED Type. Enable only one of the following two options.
* *
*/ */
//#define RGB_LED //#define RGB_LED // Enable for the Velleman RGB LED Add-on. https://www.velleman.eu/products/view/?id=430100
//#define RGBW_LED //#define RGBW_LED
#if ENABLED(RGB_LED) || ENABLED(RGBW_LED) #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
#define RGB_LED_R_PIN 34 // Pin defines for the RGB LED Add-on.
#define RGB_LED_G_PIN 43 #define RGB_LED_R_PIN 41
#define RGB_LED_B_PIN 35 #define RGB_LED_G_PIN 40
#define RGB_LED_B_PIN 12
#define RGB_LED_W_PIN -1 #define RGB_LED_W_PIN -1
#endif #endif

View file

@ -1822,13 +1822,14 @@
* LED Type. Enable only one of the following two options. * LED Type. Enable only one of the following two options.
* *
*/ */
//#define RGB_LED //#define RGB_LED // Enable for the Velleman RGB LED Add-on. https://www.velleman.eu/products/view/?id=430100
//#define RGBW_LED //#define RGBW_LED
#if ENABLED(RGB_LED) || ENABLED(RGBW_LED) #if ENABLED(RGB_LED) || ENABLED(RGBW_LED)
#define RGB_LED_R_PIN 34 // Pin defines for the RGB LED Add-on.
#define RGB_LED_G_PIN 43 #define RGB_LED_R_PIN 41
#define RGB_LED_B_PIN 35 #define RGB_LED_G_PIN 40
#define RGB_LED_B_PIN 12
#define RGB_LED_W_PIN -1 #define RGB_LED_W_PIN -1
#endif #endif