Support for an RGB LED using 3 pins

This commit is contained in:
Scott Lahteine committed 2016-11-30 00:02:31 -06:00
1 parent 092e949b58
commit 65c50e062e
24 files changed
+238 -10

No files matched your search

+11
View File
@@ -885,6 +885,17 @@
#endif
#endif
/**
* RGB_LED Requirements
*/
#if ENABLED(RGB_LED)
#if !(PIN_EXISTS(RGB_LED_R) && PIN_EXISTS(RGB_LED_G) && PIN_EXISTS(RGB_LED_B))
#error "RGB_LED requires RGB_LED_R_PIN, RGB_LED_G_PIN, and RGB_LED_B_PIN."
#elif ENABLED(BLINKM)
#error "RGB_LED and BLINKM are currently incompatible (both use M150)."
#endif
#endif
/**
* Auto Fan check for PWM pins
*/