mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-23 12:04:19 +00:00
Extend RGB LED support, adding Printer Events
This commit is contained in:
parent
c7063eb55c
commit
e7746ffee4
@ -386,5 +386,6 @@
|
|||||||
|
|
||||||
#define HAS_SOFTWARE_ENDSTOPS (ENABLED(MIN_SOFTWARE_ENDSTOPS) || ENABLED(MAX_SOFTWARE_ENDSTOPS))
|
#define HAS_SOFTWARE_ENDSTOPS (ENABLED(MIN_SOFTWARE_ENDSTOPS) || ENABLED(MAX_SOFTWARE_ENDSTOPS))
|
||||||
#define HAS_RESUME_CONTINUE (ENABLED(NEWPANEL) || ENABLED(EMERGENCY_PARSER))
|
#define HAS_RESUME_CONTINUE (ENABLED(NEWPANEL) || ENABLED(EMERGENCY_PARSER))
|
||||||
|
#define HAS_COLOR_LEDS (ENABLED(BLINKM) || ENABLED(RGB_LED))
|
||||||
|
|
||||||
#endif //CONDITIONALS_LCD_H
|
#endif //CONDITIONALS_LCD_H
|
||||||
|
@ -1514,7 +1514,23 @@
|
|||||||
//define BlinkM/CyzRgb Support
|
//define BlinkM/CyzRgb Support
|
||||||
//#define BLINKM
|
//#define BLINKM
|
||||||
|
|
||||||
// Support for an RGB LED using 3 separate pins with optional PWM
|
/**
|
||||||
|
* RGB LED / LED Strip Control
|
||||||
|
*
|
||||||
|
* Enable support for an RGB LED connected to 5V digital pins, or
|
||||||
|
* an RGB Strip connected to MOSFETs controlled by digital pins.
|
||||||
|
*
|
||||||
|
* Adds the M150 command to set the LED (or LED strip) color.
|
||||||
|
* If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
|
||||||
|
* luminance values can be set from 0 to 255.
|
||||||
|
*
|
||||||
|
* *** CAUTION ***
|
||||||
|
* LED Strips require a MOFSET Chip between PWM lines and LEDs,
|
||||||
|
* as the Arduino cannot handle the current the LEDs will require.
|
||||||
|
* Failure to follow this precaution can destroy your Arduino!
|
||||||
|
* *** CAUTION ***
|
||||||
|
*
|
||||||
|
*/
|
||||||
//#define RGB_LED
|
//#define RGB_LED
|
||||||
#if ENABLED(RGB_LED)
|
#if ENABLED(RGB_LED)
|
||||||
#define RGB_LED_R_PIN 34
|
#define RGB_LED_R_PIN 34
|
||||||
@ -1522,6 +1538,21 @@
|
|||||||
#define RGB_LED_B_PIN 35
|
#define RGB_LED_B_PIN 35
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Printer Event LEDs
|
||||||
|
*
|
||||||
|
* During printing, the LEDs will reflect the printer status:
|
||||||
|
*
|
||||||
|
* - Gradually change from blue to violet as the heated bed gets to target temp
|
||||||
|
* - Gradually change from violet to red as the hotend gets to temperature
|
||||||
|
* - Change to white to illuminate work surface
|
||||||
|
* - 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)
|
||||||
|
#define PRINTER_EVENT_LEDS
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************************************************************\
|
/*********************************************************************\
|
||||||
* R/C SERVO support
|
* R/C SERVO support
|
||||||
* Sponsored by TrinityLabs, Reworked by codexmas
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
||||||
|
@ -945,6 +945,31 @@ void servo_init() {
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if HAS_COLOR_LEDS
|
||||||
|
|
||||||
|
void set_led_color(const uint8_t r, const uint8_t g, const uint8_t b) {
|
||||||
|
|
||||||
|
#if ENABLED(BLINKM)
|
||||||
|
|
||||||
|
// This variant uses i2c to send the RGB components to the device.
|
||||||
|
SendColors(r, g, b);
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
// This variant uses 3 separate pins for the RGB components.
|
||||||
|
// If the pins can do PWM then their intensity will be set.
|
||||||
|
digitalWrite(RGB_LED_R_PIN, r ? HIGH : LOW);
|
||||||
|
digitalWrite(RGB_LED_G_PIN, g ? HIGH : LOW);
|
||||||
|
digitalWrite(RGB_LED_B_PIN, b ? HIGH : LOW);
|
||||||
|
analogWrite(RGB_LED_R_PIN, r);
|
||||||
|
analogWrite(RGB_LED_G_PIN, g);
|
||||||
|
analogWrite(RGB_LED_B_PIN, b);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif // HAS_COLOR_LEDS
|
||||||
|
|
||||||
void gcode_line_error(const char* err, bool doFlush = true) {
|
void gcode_line_error(const char* err, bool doFlush = true) {
|
||||||
SERIAL_ERROR_START;
|
SERIAL_ERROR_START;
|
||||||
serialprintPGM(err);
|
serialprintPGM(err);
|
||||||
@ -1129,6 +1154,19 @@ inline void get_serial_commands() {
|
|||||||
if (card_eof) {
|
if (card_eof) {
|
||||||
SERIAL_PROTOCOLLNPGM(MSG_FILE_PRINTED);
|
SERIAL_PROTOCOLLNPGM(MSG_FILE_PRINTED);
|
||||||
card.printingHasFinished();
|
card.printingHasFinished();
|
||||||
|
#if ENABLED(PRINTER_EVENT_LEDS)
|
||||||
|
LCD_MESSAGEPGM(MSG_INFO_COMPLETED_PRINTS);
|
||||||
|
set_led_color(0, 255, 0);
|
||||||
|
#if HAS_RESUME_CONTINUE
|
||||||
|
KEEPALIVE_STATE(PAUSED_FOR_USER);
|
||||||
|
wait_for_user = true;
|
||||||
|
while (wait_for_user) idle();
|
||||||
|
KEEPALIVE_STATE(IN_HANDLER);
|
||||||
|
#else
|
||||||
|
safe_delay(1000);
|
||||||
|
#endif
|
||||||
|
set_led_color(0, 0, 0);
|
||||||
|
#endif
|
||||||
card.checkautostart(true);
|
card.checkautostart(true);
|
||||||
}
|
}
|
||||||
else if (n == -1) {
|
else if (n == -1) {
|
||||||
@ -6084,6 +6122,11 @@ inline void gcode_M109() {
|
|||||||
|
|
||||||
KEEPALIVE_STATE(NOT_BUSY);
|
KEEPALIVE_STATE(NOT_BUSY);
|
||||||
|
|
||||||
|
#if ENABLED(PRINTER_EVENT_LEDS)
|
||||||
|
const float start_temp = thermalManager.degHotend(target_extruder);
|
||||||
|
uint8_t old_blue = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
do {
|
do {
|
||||||
// Target temperature might be changed during the loop
|
// Target temperature might be changed during the loop
|
||||||
if (target_temp != thermalManager.degTargetHotend(target_extruder)) {
|
if (target_temp != thermalManager.degTargetHotend(target_extruder)) {
|
||||||
@ -6117,6 +6160,14 @@ inline void gcode_M109() {
|
|||||||
|
|
||||||
const float temp = thermalManager.degHotend(target_extruder);
|
const float temp = thermalManager.degHotend(target_extruder);
|
||||||
|
|
||||||
|
#if ENABLED(PRINTER_EVENT_LEDS)
|
||||||
|
// Gradually change LED strip from violet to red as nozzle heats up
|
||||||
|
if (!wants_to_cool) {
|
||||||
|
const uint8_t blue = map(constrain(temp, start_temp, target_temp), start_temp, target_temp, 255, 0);
|
||||||
|
if (blue != old_blue) set_led_color(255, 0, (old_blue = blue));
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if TEMP_RESIDENCY_TIME > 0
|
#if TEMP_RESIDENCY_TIME > 0
|
||||||
|
|
||||||
const float temp_diff = fabs(target_temp - temp);
|
const float temp_diff = fabs(target_temp - temp);
|
||||||
@ -6145,7 +6196,12 @@ inline void gcode_M109() {
|
|||||||
|
|
||||||
} while (wait_for_heatup && TEMP_CONDITIONS);
|
} while (wait_for_heatup && TEMP_CONDITIONS);
|
||||||
|
|
||||||
if (wait_for_heatup) LCD_MESSAGEPGM(MSG_HEATING_COMPLETE);
|
if (wait_for_heatup) {
|
||||||
|
LCD_MESSAGEPGM(MSG_HEATING_COMPLETE);
|
||||||
|
#if ENABLED(PRINTER_EVENT_LEDS)
|
||||||
|
set_led_color(255, 255, 255); // Set LEDs ALL WHITE
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
KEEPALIVE_STATE(IN_HANDLER);
|
KEEPALIVE_STATE(IN_HANDLER);
|
||||||
}
|
}
|
||||||
@ -6195,6 +6251,11 @@ inline void gcode_M109() {
|
|||||||
|
|
||||||
target_extruder = active_extruder; // for print_heaterstates
|
target_extruder = active_extruder; // for print_heaterstates
|
||||||
|
|
||||||
|
#if ENABLED(PRINTER_EVENT_LEDS)
|
||||||
|
const float start_temp = thermalManager.degBed();
|
||||||
|
uint8_t old_red = 255;
|
||||||
|
#endif
|
||||||
|
|
||||||
do {
|
do {
|
||||||
// Target temperature might be changed during the loop
|
// Target temperature might be changed during the loop
|
||||||
if (target_temp != thermalManager.degTargetBed()) {
|
if (target_temp != thermalManager.degTargetBed()) {
|
||||||
@ -6228,6 +6289,15 @@ inline void gcode_M109() {
|
|||||||
|
|
||||||
const float temp = thermalManager.degBed();
|
const float temp = thermalManager.degBed();
|
||||||
|
|
||||||
|
#if ENABLED(PRINTER_EVENT_LEDS)
|
||||||
|
// Gradually change LED strip from blue to violet as bed heats up
|
||||||
|
if (!wants_to_cool) {
|
||||||
|
const uint8_t red = map(constrain(temp, start_temp, target_temp), start_temp, target_temp, 0, 255);
|
||||||
|
if (red != old_red) set_led_color((old_red = red), 0, 255);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if TEMP_BED_RESIDENCY_TIME > 0
|
#if TEMP_BED_RESIDENCY_TIME > 0
|
||||||
|
|
||||||
const float temp_diff = fabs(target_temp - temp);
|
const float temp_diff = fabs(target_temp - temp);
|
||||||
@ -6771,28 +6841,7 @@ inline void gcode_M121() { endstops.enable_globally(false); }
|
|||||||
|
|
||||||
#endif // PARK_HEAD_ON_PAUSE
|
#endif // PARK_HEAD_ON_PAUSE
|
||||||
|
|
||||||
#if ENABLED(BLINKM) || ENABLED(RGB_LED)
|
#if HAS_COLOR_LEDS
|
||||||
|
|
||||||
void set_led_color(const uint8_t r, const uint8_t g, const uint8_t b) {
|
|
||||||
|
|
||||||
#if ENABLED(BLINKM)
|
|
||||||
|
|
||||||
// This variant uses i2c to send the RGB components to the device.
|
|
||||||
SendColors(r, g, b);
|
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
// This variant uses 3 separate pins for the RGB components.
|
|
||||||
// If the pins can do PWM then their intensity will be set.
|
|
||||||
digitalWrite(RGB_LED_R_PIN, r ? HIGH : LOW);
|
|
||||||
digitalWrite(RGB_LED_G_PIN, g ? HIGH : LOW);
|
|
||||||
digitalWrite(RGB_LED_B_PIN, b ? HIGH : LOW);
|
|
||||||
analogWrite(RGB_LED_R_PIN, r);
|
|
||||||
analogWrite(RGB_LED_G_PIN, g);
|
|
||||||
analogWrite(RGB_LED_B_PIN, b);
|
|
||||||
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* M150: Set Status LED Color - Use R-U-B for R-G-B
|
* M150: Set Status LED Color - Use R-U-B for R-G-B
|
||||||
@ -9388,7 +9437,7 @@ void process_next_command() {
|
|||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(BLINKM) || ENABLED(RGB_LED)
|
#if HAS_COLOR_LEDS
|
||||||
|
|
||||||
case 150: // M150: Set Status LED Color
|
case 150: // M150: Set Status LED Color
|
||||||
gcode_M150();
|
gcode_M150();
|
||||||
|
@ -957,6 +957,8 @@ static_assert(1 >= 0
|
|||||||
#elif ENABLED(BLINKM)
|
#elif ENABLED(BLINKM)
|
||||||
#error "RGB_LED and BLINKM are currently incompatible (both use M150)."
|
#error "RGB_LED and BLINKM are currently incompatible (both use M150)."
|
||||||
#endif
|
#endif
|
||||||
|
#elif DISABLED(BLINKM) && ENABLED(PRINTER_EVENT_LEDS)
|
||||||
|
#error "PRINTER_EVENT_LEDS requires BLINKM or RGB_LED."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1513,7 +1513,23 @@
|
|||||||
//define BlinkM/CyzRgb Support
|
//define BlinkM/CyzRgb Support
|
||||||
//#define BLINKM
|
//#define BLINKM
|
||||||
|
|
||||||
// Support for an RGB LED using 3 separate pins with optional PWM
|
/**
|
||||||
|
* RGB LED / LED Strip Control
|
||||||
|
*
|
||||||
|
* Enable support for an RGB LED connected to 5V digital pins, or
|
||||||
|
* an RGB Strip connected to MOSFETs controlled by digital pins.
|
||||||
|
*
|
||||||
|
* Adds the M150 command to set the LED (or LED strip) color.
|
||||||
|
* If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
|
||||||
|
* luminance values can be set from 0 to 255.
|
||||||
|
*
|
||||||
|
* *** CAUTION ***
|
||||||
|
* LED Strips require a MOFSET Chip between PWM lines and LEDs,
|
||||||
|
* as the Arduino cannot handle the current the LEDs will require.
|
||||||
|
* Failure to follow this precaution can destroy your Arduino!
|
||||||
|
* *** CAUTION ***
|
||||||
|
*
|
||||||
|
*/
|
||||||
//#define RGB_LED
|
//#define RGB_LED
|
||||||
#if ENABLED(RGB_LED)
|
#if ENABLED(RGB_LED)
|
||||||
#define RGB_LED_R_PIN 34
|
#define RGB_LED_R_PIN 34
|
||||||
@ -1521,6 +1537,21 @@
|
|||||||
#define RGB_LED_B_PIN 35
|
#define RGB_LED_B_PIN 35
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Printer Event LEDs
|
||||||
|
*
|
||||||
|
* During printing, the LEDs will reflect the printer status:
|
||||||
|
*
|
||||||
|
* - Gradually change from blue to violet as the heated bed gets to target temp
|
||||||
|
* - Gradually change from violet to red as the hotend gets to temperature
|
||||||
|
* - Change to white to illuminate work surface
|
||||||
|
* - 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)
|
||||||
|
#define PRINTER_EVENT_LEDS
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************************************************************\
|
/*********************************************************************\
|
||||||
* R/C SERVO support
|
* R/C SERVO support
|
||||||
* Sponsored by TrinityLabs, Reworked by codexmas
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
||||||
|
@ -1497,7 +1497,23 @@
|
|||||||
//define BlinkM/CyzRgb Support
|
//define BlinkM/CyzRgb Support
|
||||||
//#define BLINKM
|
//#define BLINKM
|
||||||
|
|
||||||
// Support for an RGB LED using 3 separate pins with optional PWM
|
/**
|
||||||
|
* RGB LED / LED Strip Control
|
||||||
|
*
|
||||||
|
* Enable support for an RGB LED connected to 5V digital pins, or
|
||||||
|
* an RGB Strip connected to MOSFETs controlled by digital pins.
|
||||||
|
*
|
||||||
|
* Adds the M150 command to set the LED (or LED strip) color.
|
||||||
|
* If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
|
||||||
|
* luminance values can be set from 0 to 255.
|
||||||
|
*
|
||||||
|
* *** CAUTION ***
|
||||||
|
* LED Strips require a MOFSET Chip between PWM lines and LEDs,
|
||||||
|
* as the Arduino cannot handle the current the LEDs will require.
|
||||||
|
* Failure to follow this precaution can destroy your Arduino!
|
||||||
|
* *** CAUTION ***
|
||||||
|
*
|
||||||
|
*/
|
||||||
//#define RGB_LED
|
//#define RGB_LED
|
||||||
#if ENABLED(RGB_LED)
|
#if ENABLED(RGB_LED)
|
||||||
#define RGB_LED_R_PIN 34
|
#define RGB_LED_R_PIN 34
|
||||||
@ -1505,6 +1521,21 @@
|
|||||||
#define RGB_LED_B_PIN 35
|
#define RGB_LED_B_PIN 35
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Printer Event LEDs
|
||||||
|
*
|
||||||
|
* During printing, the LEDs will reflect the printer status:
|
||||||
|
*
|
||||||
|
* - Gradually change from blue to violet as the heated bed gets to target temp
|
||||||
|
* - Gradually change from violet to red as the hotend gets to temperature
|
||||||
|
* - Change to white to illuminate work surface
|
||||||
|
* - 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)
|
||||||
|
#define PRINTER_EVENT_LEDS
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************************************************************\
|
/*********************************************************************\
|
||||||
* R/C SERVO support
|
* R/C SERVO support
|
||||||
* Sponsored by TrinityLabs, Reworked by codexmas
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
||||||
|
@ -1497,7 +1497,23 @@
|
|||||||
//define BlinkM/CyzRgb Support
|
//define BlinkM/CyzRgb Support
|
||||||
//#define BLINKM
|
//#define BLINKM
|
||||||
|
|
||||||
// Support for an RGB LED using 3 separate pins with optional PWM
|
/**
|
||||||
|
* RGB LED / LED Strip Control
|
||||||
|
*
|
||||||
|
* Enable support for an RGB LED connected to 5V digital pins, or
|
||||||
|
* an RGB Strip connected to MOSFETs controlled by digital pins.
|
||||||
|
*
|
||||||
|
* Adds the M150 command to set the LED (or LED strip) color.
|
||||||
|
* If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
|
||||||
|
* luminance values can be set from 0 to 255.
|
||||||
|
*
|
||||||
|
* *** CAUTION ***
|
||||||
|
* LED Strips require a MOFSET Chip between PWM lines and LEDs,
|
||||||
|
* as the Arduino cannot handle the current the LEDs will require.
|
||||||
|
* Failure to follow this precaution can destroy your Arduino!
|
||||||
|
* *** CAUTION ***
|
||||||
|
*
|
||||||
|
*/
|
||||||
//#define RGB_LED
|
//#define RGB_LED
|
||||||
#if ENABLED(RGB_LED)
|
#if ENABLED(RGB_LED)
|
||||||
#define RGB_LED_R_PIN 34
|
#define RGB_LED_R_PIN 34
|
||||||
@ -1505,6 +1521,21 @@
|
|||||||
#define RGB_LED_B_PIN 35
|
#define RGB_LED_B_PIN 35
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Printer Event LEDs
|
||||||
|
*
|
||||||
|
* During printing, the LEDs will reflect the printer status:
|
||||||
|
*
|
||||||
|
* - Gradually change from blue to violet as the heated bed gets to target temp
|
||||||
|
* - Gradually change from violet to red as the hotend gets to temperature
|
||||||
|
* - Change to white to illuminate work surface
|
||||||
|
* - 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)
|
||||||
|
#define PRINTER_EVENT_LEDS
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************************************************************\
|
/*********************************************************************\
|
||||||
* R/C SERVO support
|
* R/C SERVO support
|
||||||
* Sponsored by TrinityLabs, Reworked by codexmas
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
||||||
|
@ -1505,7 +1505,23 @@
|
|||||||
//define BlinkM/CyzRgb Support
|
//define BlinkM/CyzRgb Support
|
||||||
//#define BLINKM
|
//#define BLINKM
|
||||||
|
|
||||||
// Support for an RGB LED using 3 separate pins with optional PWM
|
/**
|
||||||
|
* RGB LED / LED Strip Control
|
||||||
|
*
|
||||||
|
* Enable support for an RGB LED connected to 5V digital pins, or
|
||||||
|
* an RGB Strip connected to MOSFETs controlled by digital pins.
|
||||||
|
*
|
||||||
|
* Adds the M150 command to set the LED (or LED strip) color.
|
||||||
|
* If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
|
||||||
|
* luminance values can be set from 0 to 255.
|
||||||
|
*
|
||||||
|
* *** CAUTION ***
|
||||||
|
* LED Strips require a MOFSET Chip between PWM lines and LEDs,
|
||||||
|
* as the Arduino cannot handle the current the LEDs will require.
|
||||||
|
* Failure to follow this precaution can destroy your Arduino!
|
||||||
|
* *** CAUTION ***
|
||||||
|
*
|
||||||
|
*/
|
||||||
//#define RGB_LED
|
//#define RGB_LED
|
||||||
#if ENABLED(RGB_LED)
|
#if ENABLED(RGB_LED)
|
||||||
#define RGB_LED_R_PIN 34
|
#define RGB_LED_R_PIN 34
|
||||||
@ -1513,6 +1529,21 @@
|
|||||||
#define RGB_LED_B_PIN 35
|
#define RGB_LED_B_PIN 35
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Printer Event LEDs
|
||||||
|
*
|
||||||
|
* During printing, the LEDs will reflect the printer status:
|
||||||
|
*
|
||||||
|
* - Gradually change from blue to violet as the heated bed gets to target temp
|
||||||
|
* - Gradually change from violet to red as the hotend gets to temperature
|
||||||
|
* - Change to white to illuminate work surface
|
||||||
|
* - 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)
|
||||||
|
#define PRINTER_EVENT_LEDS
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************************************************************\
|
/*********************************************************************\
|
||||||
* R/C SERVO support
|
* R/C SERVO support
|
||||||
* Sponsored by TrinityLabs, Reworked by codexmas
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
||||||
|
@ -1508,7 +1508,23 @@
|
|||||||
//define BlinkM/CyzRgb Support
|
//define BlinkM/CyzRgb Support
|
||||||
//#define BLINKM
|
//#define BLINKM
|
||||||
|
|
||||||
// Support for an RGB LED using 3 separate pins with optional PWM
|
/**
|
||||||
|
* RGB LED / LED Strip Control
|
||||||
|
*
|
||||||
|
* Enable support for an RGB LED connected to 5V digital pins, or
|
||||||
|
* an RGB Strip connected to MOSFETs controlled by digital pins.
|
||||||
|
*
|
||||||
|
* Adds the M150 command to set the LED (or LED strip) color.
|
||||||
|
* If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
|
||||||
|
* luminance values can be set from 0 to 255.
|
||||||
|
*
|
||||||
|
* *** CAUTION ***
|
||||||
|
* LED Strips require a MOFSET Chip between PWM lines and LEDs,
|
||||||
|
* as the Arduino cannot handle the current the LEDs will require.
|
||||||
|
* Failure to follow this precaution can destroy your Arduino!
|
||||||
|
* *** CAUTION ***
|
||||||
|
*
|
||||||
|
*/
|
||||||
//#define RGB_LED
|
//#define RGB_LED
|
||||||
#if ENABLED(RGB_LED)
|
#if ENABLED(RGB_LED)
|
||||||
#define RGB_LED_R_PIN 34
|
#define RGB_LED_R_PIN 34
|
||||||
@ -1516,6 +1532,21 @@
|
|||||||
#define RGB_LED_B_PIN 35
|
#define RGB_LED_B_PIN 35
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Printer Event LEDs
|
||||||
|
*
|
||||||
|
* During printing, the LEDs will reflect the printer status:
|
||||||
|
*
|
||||||
|
* - Gradually change from blue to violet as the heated bed gets to target temp
|
||||||
|
* - Gradually change from violet to red as the hotend gets to temperature
|
||||||
|
* - Change to white to illuminate work surface
|
||||||
|
* - 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)
|
||||||
|
#define PRINTER_EVENT_LEDS
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************************************************************\
|
/*********************************************************************\
|
||||||
* R/C SERVO support
|
* R/C SERVO support
|
||||||
* Sponsored by TrinityLabs, Reworked by codexmas
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
||||||
|
@ -1548,7 +1548,23 @@
|
|||||||
//define BlinkM/CyzRgb Support
|
//define BlinkM/CyzRgb Support
|
||||||
//#define BLINKM
|
//#define BLINKM
|
||||||
|
|
||||||
// Support for an RGB LED using 3 separate pins with optional PWM
|
/**
|
||||||
|
* RGB LED / LED Strip Control
|
||||||
|
*
|
||||||
|
* Enable support for an RGB LED connected to 5V digital pins, or
|
||||||
|
* an RGB Strip connected to MOSFETs controlled by digital pins.
|
||||||
|
*
|
||||||
|
* Adds the M150 command to set the LED (or LED strip) color.
|
||||||
|
* If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
|
||||||
|
* luminance values can be set from 0 to 255.
|
||||||
|
*
|
||||||
|
* *** CAUTION ***
|
||||||
|
* LED Strips require a MOFSET Chip between PWM lines and LEDs,
|
||||||
|
* as the Arduino cannot handle the current the LEDs will require.
|
||||||
|
* Failure to follow this precaution can destroy your Arduino!
|
||||||
|
* *** CAUTION ***
|
||||||
|
*
|
||||||
|
*/
|
||||||
//#define RGB_LED
|
//#define RGB_LED
|
||||||
#if ENABLED(RGB_LED)
|
#if ENABLED(RGB_LED)
|
||||||
#define RGB_LED_R_PIN 34
|
#define RGB_LED_R_PIN 34
|
||||||
@ -1556,6 +1572,21 @@
|
|||||||
#define RGB_LED_B_PIN 35
|
#define RGB_LED_B_PIN 35
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Printer Event LEDs
|
||||||
|
*
|
||||||
|
* During printing, the LEDs will reflect the printer status:
|
||||||
|
*
|
||||||
|
* - Gradually change from blue to violet as the heated bed gets to target temp
|
||||||
|
* - Gradually change from violet to red as the hotend gets to temperature
|
||||||
|
* - Change to white to illuminate work surface
|
||||||
|
* - 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)
|
||||||
|
#define PRINTER_EVENT_LEDS
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************************************************************\
|
/*********************************************************************\
|
||||||
* R/C SERVO support
|
* R/C SERVO support
|
||||||
* Sponsored by TrinityLabs, Reworked by codexmas
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
||||||
|
@ -1514,7 +1514,23 @@
|
|||||||
//define BlinkM/CyzRgb Support
|
//define BlinkM/CyzRgb Support
|
||||||
//#define BLINKM
|
//#define BLINKM
|
||||||
|
|
||||||
// Support for an RGB LED using 3 separate pins with optional PWM
|
/**
|
||||||
|
* RGB LED / LED Strip Control
|
||||||
|
*
|
||||||
|
* Enable support for an RGB LED connected to 5V digital pins, or
|
||||||
|
* an RGB Strip connected to MOSFETs controlled by digital pins.
|
||||||
|
*
|
||||||
|
* Adds the M150 command to set the LED (or LED strip) color.
|
||||||
|
* If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
|
||||||
|
* luminance values can be set from 0 to 255.
|
||||||
|
*
|
||||||
|
* *** CAUTION ***
|
||||||
|
* LED Strips require a MOFSET Chip between PWM lines and LEDs,
|
||||||
|
* as the Arduino cannot handle the current the LEDs will require.
|
||||||
|
* Failure to follow this precaution can destroy your Arduino!
|
||||||
|
* *** CAUTION ***
|
||||||
|
*
|
||||||
|
*/
|
||||||
//#define RGB_LED
|
//#define RGB_LED
|
||||||
#if ENABLED(RGB_LED)
|
#if ENABLED(RGB_LED)
|
||||||
#define RGB_LED_R_PIN 34
|
#define RGB_LED_R_PIN 34
|
||||||
@ -1522,6 +1538,21 @@
|
|||||||
#define RGB_LED_B_PIN 35
|
#define RGB_LED_B_PIN 35
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Printer Event LEDs
|
||||||
|
*
|
||||||
|
* During printing, the LEDs will reflect the printer status:
|
||||||
|
*
|
||||||
|
* - Gradually change from blue to violet as the heated bed gets to target temp
|
||||||
|
* - Gradually change from violet to red as the hotend gets to temperature
|
||||||
|
* - Change to white to illuminate work surface
|
||||||
|
* - 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)
|
||||||
|
#define PRINTER_EVENT_LEDS
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************************************************************\
|
/*********************************************************************\
|
||||||
* R/C SERVO support
|
* R/C SERVO support
|
||||||
* Sponsored by TrinityLabs, Reworked by codexmas
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
||||||
|
@ -1514,7 +1514,23 @@
|
|||||||
//define BlinkM/CyzRgb Support
|
//define BlinkM/CyzRgb Support
|
||||||
//#define BLINKM
|
//#define BLINKM
|
||||||
|
|
||||||
// Support for an RGB LED using 3 separate pins with optional PWM
|
/**
|
||||||
|
* RGB LED / LED Strip Control
|
||||||
|
*
|
||||||
|
* Enable support for an RGB LED connected to 5V digital pins, or
|
||||||
|
* an RGB Strip connected to MOSFETs controlled by digital pins.
|
||||||
|
*
|
||||||
|
* Adds the M150 command to set the LED (or LED strip) color.
|
||||||
|
* If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
|
||||||
|
* luminance values can be set from 0 to 255.
|
||||||
|
*
|
||||||
|
* *** CAUTION ***
|
||||||
|
* LED Strips require a MOFSET Chip between PWM lines and LEDs,
|
||||||
|
* as the Arduino cannot handle the current the LEDs will require.
|
||||||
|
* Failure to follow this precaution can destroy your Arduino!
|
||||||
|
* *** CAUTION ***
|
||||||
|
*
|
||||||
|
*/
|
||||||
//#define RGB_LED
|
//#define RGB_LED
|
||||||
#if ENABLED(RGB_LED)
|
#if ENABLED(RGB_LED)
|
||||||
#define RGB_LED_R_PIN 34
|
#define RGB_LED_R_PIN 34
|
||||||
@ -1522,6 +1538,21 @@
|
|||||||
#define RGB_LED_B_PIN 35
|
#define RGB_LED_B_PIN 35
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Printer Event LEDs
|
||||||
|
*
|
||||||
|
* During printing, the LEDs will reflect the printer status:
|
||||||
|
*
|
||||||
|
* - Gradually change from blue to violet as the heated bed gets to target temp
|
||||||
|
* - Gradually change from violet to red as the hotend gets to temperature
|
||||||
|
* - Change to white to illuminate work surface
|
||||||
|
* - 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)
|
||||||
|
#define PRINTER_EVENT_LEDS
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************************************************************\
|
/*********************************************************************\
|
||||||
* R/C SERVO support
|
* R/C SERVO support
|
||||||
* Sponsored by TrinityLabs, Reworked by codexmas
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
||||||
|
@ -1514,7 +1514,23 @@
|
|||||||
//define BlinkM/CyzRgb Support
|
//define BlinkM/CyzRgb Support
|
||||||
//#define BLINKM
|
//#define BLINKM
|
||||||
|
|
||||||
// Support for an RGB LED using 3 separate pins with optional PWM
|
/**
|
||||||
|
* RGB LED / LED Strip Control
|
||||||
|
*
|
||||||
|
* Enable support for an RGB LED connected to 5V digital pins, or
|
||||||
|
* an RGB Strip connected to MOSFETs controlled by digital pins.
|
||||||
|
*
|
||||||
|
* Adds the M150 command to set the LED (or LED strip) color.
|
||||||
|
* If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
|
||||||
|
* luminance values can be set from 0 to 255.
|
||||||
|
*
|
||||||
|
* *** CAUTION ***
|
||||||
|
* LED Strips require a MOFSET Chip between PWM lines and LEDs,
|
||||||
|
* as the Arduino cannot handle the current the LEDs will require.
|
||||||
|
* Failure to follow this precaution can destroy your Arduino!
|
||||||
|
* *** CAUTION ***
|
||||||
|
*
|
||||||
|
*/
|
||||||
//#define RGB_LED
|
//#define RGB_LED
|
||||||
#if ENABLED(RGB_LED)
|
#if ENABLED(RGB_LED)
|
||||||
#define RGB_LED_R_PIN 34
|
#define RGB_LED_R_PIN 34
|
||||||
@ -1522,6 +1538,21 @@
|
|||||||
#define RGB_LED_B_PIN 35
|
#define RGB_LED_B_PIN 35
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Printer Event LEDs
|
||||||
|
*
|
||||||
|
* During printing, the LEDs will reflect the printer status:
|
||||||
|
*
|
||||||
|
* - Gradually change from blue to violet as the heated bed gets to target temp
|
||||||
|
* - Gradually change from violet to red as the hotend gets to temperature
|
||||||
|
* - Change to white to illuminate work surface
|
||||||
|
* - 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)
|
||||||
|
#define PRINTER_EVENT_LEDS
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************************************************************\
|
/*********************************************************************\
|
||||||
* R/C SERVO support
|
* R/C SERVO support
|
||||||
* Sponsored by TrinityLabs, Reworked by codexmas
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
||||||
|
@ -1515,7 +1515,23 @@
|
|||||||
//define BlinkM/CyzRgb Support
|
//define BlinkM/CyzRgb Support
|
||||||
//#define BLINKM
|
//#define BLINKM
|
||||||
|
|
||||||
// Support for an RGB LED using 3 separate pins with optional PWM
|
/**
|
||||||
|
* RGB LED / LED Strip Control
|
||||||
|
*
|
||||||
|
* Enable support for an RGB LED connected to 5V digital pins, or
|
||||||
|
* an RGB Strip connected to MOSFETs controlled by digital pins.
|
||||||
|
*
|
||||||
|
* Adds the M150 command to set the LED (or LED strip) color.
|
||||||
|
* If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
|
||||||
|
* luminance values can be set from 0 to 255.
|
||||||
|
*
|
||||||
|
* *** CAUTION ***
|
||||||
|
* LED Strips require a MOFSET Chip between PWM lines and LEDs,
|
||||||
|
* as the Arduino cannot handle the current the LEDs will require.
|
||||||
|
* Failure to follow this precaution can destroy your Arduino!
|
||||||
|
* *** CAUTION ***
|
||||||
|
*
|
||||||
|
*/
|
||||||
//#define RGB_LED
|
//#define RGB_LED
|
||||||
#if ENABLED(RGB_LED)
|
#if ENABLED(RGB_LED)
|
||||||
#define RGB_LED_R_PIN 34
|
#define RGB_LED_R_PIN 34
|
||||||
@ -1523,6 +1539,21 @@
|
|||||||
#define RGB_LED_B_PIN 35
|
#define RGB_LED_B_PIN 35
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Printer Event LEDs
|
||||||
|
*
|
||||||
|
* During printing, the LEDs will reflect the printer status:
|
||||||
|
*
|
||||||
|
* - Gradually change from blue to violet as the heated bed gets to target temp
|
||||||
|
* - Gradually change from violet to red as the hotend gets to temperature
|
||||||
|
* - Change to white to illuminate work surface
|
||||||
|
* - 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)
|
||||||
|
#define PRINTER_EVENT_LEDS
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************************************************************\
|
/*********************************************************************\
|
||||||
* R/C SERVO support
|
* R/C SERVO support
|
||||||
* Sponsored by TrinityLabs, Reworked by codexmas
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
||||||
|
@ -1529,7 +1529,23 @@
|
|||||||
//define BlinkM/CyzRgb Support
|
//define BlinkM/CyzRgb Support
|
||||||
//#define BLINKM
|
//#define BLINKM
|
||||||
|
|
||||||
// Support for an RGB LED using 3 separate pins with optional PWM
|
/**
|
||||||
|
* RGB LED / LED Strip Control
|
||||||
|
*
|
||||||
|
* Enable support for an RGB LED connected to 5V digital pins, or
|
||||||
|
* an RGB Strip connected to MOSFETs controlled by digital pins.
|
||||||
|
*
|
||||||
|
* Adds the M150 command to set the LED (or LED strip) color.
|
||||||
|
* If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
|
||||||
|
* luminance values can be set from 0 to 255.
|
||||||
|
*
|
||||||
|
* *** CAUTION ***
|
||||||
|
* LED Strips require a MOFSET Chip between PWM lines and LEDs,
|
||||||
|
* as the Arduino cannot handle the current the LEDs will require.
|
||||||
|
* Failure to follow this precaution can destroy your Arduino!
|
||||||
|
* *** CAUTION ***
|
||||||
|
*
|
||||||
|
*/
|
||||||
//#define RGB_LED
|
//#define RGB_LED
|
||||||
#if ENABLED(RGB_LED)
|
#if ENABLED(RGB_LED)
|
||||||
#define RGB_LED_R_PIN 34
|
#define RGB_LED_R_PIN 34
|
||||||
@ -1537,6 +1553,21 @@
|
|||||||
#define RGB_LED_B_PIN 35
|
#define RGB_LED_B_PIN 35
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Printer Event LEDs
|
||||||
|
*
|
||||||
|
* During printing, the LEDs will reflect the printer status:
|
||||||
|
*
|
||||||
|
* - Gradually change from blue to violet as the heated bed gets to target temp
|
||||||
|
* - Gradually change from violet to red as the hotend gets to temperature
|
||||||
|
* - Change to white to illuminate work surface
|
||||||
|
* - 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)
|
||||||
|
#define PRINTER_EVENT_LEDS
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************************************************************\
|
/*********************************************************************\
|
||||||
* R/C SERVO support
|
* R/C SERVO support
|
||||||
* Sponsored by TrinityLabs, Reworked by codexmas
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
||||||
|
@ -1534,7 +1534,23 @@
|
|||||||
//define BlinkM/CyzRgb Support
|
//define BlinkM/CyzRgb Support
|
||||||
//#define BLINKM
|
//#define BLINKM
|
||||||
|
|
||||||
// Support for an RGB LED using 3 separate pins with optional PWM
|
/**
|
||||||
|
* RGB LED / LED Strip Control
|
||||||
|
*
|
||||||
|
* Enable support for an RGB LED connected to 5V digital pins, or
|
||||||
|
* an RGB Strip connected to MOSFETs controlled by digital pins.
|
||||||
|
*
|
||||||
|
* Adds the M150 command to set the LED (or LED strip) color.
|
||||||
|
* If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
|
||||||
|
* luminance values can be set from 0 to 255.
|
||||||
|
*
|
||||||
|
* *** CAUTION ***
|
||||||
|
* LED Strips require a MOFSET Chip between PWM lines and LEDs,
|
||||||
|
* as the Arduino cannot handle the current the LEDs will require.
|
||||||
|
* Failure to follow this precaution can destroy your Arduino!
|
||||||
|
* *** CAUTION ***
|
||||||
|
*
|
||||||
|
*/
|
||||||
//#define RGB_LED
|
//#define RGB_LED
|
||||||
#if ENABLED(RGB_LED)
|
#if ENABLED(RGB_LED)
|
||||||
#define RGB_LED_R_PIN 34
|
#define RGB_LED_R_PIN 34
|
||||||
@ -1542,6 +1558,21 @@
|
|||||||
#define RGB_LED_B_PIN 35
|
#define RGB_LED_B_PIN 35
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Printer Event LEDs
|
||||||
|
*
|
||||||
|
* During printing, the LEDs will reflect the printer status:
|
||||||
|
*
|
||||||
|
* - Gradually change from blue to violet as the heated bed gets to target temp
|
||||||
|
* - Gradually change from violet to red as the hotend gets to temperature
|
||||||
|
* - Change to white to illuminate work surface
|
||||||
|
* - 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)
|
||||||
|
#define PRINTER_EVENT_LEDS
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************************************************************\
|
/*********************************************************************\
|
||||||
* R/C SERVO support
|
* R/C SERVO support
|
||||||
* Sponsored by TrinityLabs, Reworked by codexmas
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
||||||
|
@ -1570,7 +1570,23 @@
|
|||||||
//define BlinkM/CyzRgb Support
|
//define BlinkM/CyzRgb Support
|
||||||
//#define BLINKM
|
//#define BLINKM
|
||||||
|
|
||||||
// Support for an RGB LED using 3 separate pins with optional PWM
|
/**
|
||||||
|
* RGB LED / LED Strip Control
|
||||||
|
*
|
||||||
|
* Enable support for an RGB LED connected to 5V digital pins, or
|
||||||
|
* an RGB Strip connected to MOSFETs controlled by digital pins.
|
||||||
|
*
|
||||||
|
* Adds the M150 command to set the LED (or LED strip) color.
|
||||||
|
* If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
|
||||||
|
* luminance values can be set from 0 to 255.
|
||||||
|
*
|
||||||
|
* *** CAUTION ***
|
||||||
|
* LED Strips require a MOFSET Chip between PWM lines and LEDs,
|
||||||
|
* as the Arduino cannot handle the current the LEDs will require.
|
||||||
|
* Failure to follow this precaution can destroy your Arduino!
|
||||||
|
* *** CAUTION ***
|
||||||
|
*
|
||||||
|
*/
|
||||||
//#define RGB_LED
|
//#define RGB_LED
|
||||||
#if ENABLED(RGB_LED)
|
#if ENABLED(RGB_LED)
|
||||||
#define RGB_LED_R_PIN 34
|
#define RGB_LED_R_PIN 34
|
||||||
@ -1578,6 +1594,21 @@
|
|||||||
#define RGB_LED_B_PIN 35
|
#define RGB_LED_B_PIN 35
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Printer Event LEDs
|
||||||
|
*
|
||||||
|
* During printing, the LEDs will reflect the printer status:
|
||||||
|
*
|
||||||
|
* - Gradually change from blue to violet as the heated bed gets to target temp
|
||||||
|
* - Gradually change from violet to red as the hotend gets to temperature
|
||||||
|
* - Change to white to illuminate work surface
|
||||||
|
* - 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)
|
||||||
|
#define PRINTER_EVENT_LEDS
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************************************************************\
|
/*********************************************************************\
|
||||||
* R/C SERVO support
|
* R/C SERVO support
|
||||||
* Sponsored by TrinityLabs, Reworked by codexmas
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
||||||
|
@ -1505,7 +1505,23 @@
|
|||||||
//define BlinkM/CyzRgb Support
|
//define BlinkM/CyzRgb Support
|
||||||
//#define BLINKM
|
//#define BLINKM
|
||||||
|
|
||||||
// Support for an RGB LED using 3 separate pins with optional PWM
|
/**
|
||||||
|
* RGB LED / LED Strip Control
|
||||||
|
*
|
||||||
|
* Enable support for an RGB LED connected to 5V digital pins, or
|
||||||
|
* an RGB Strip connected to MOSFETs controlled by digital pins.
|
||||||
|
*
|
||||||
|
* Adds the M150 command to set the LED (or LED strip) color.
|
||||||
|
* If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
|
||||||
|
* luminance values can be set from 0 to 255.
|
||||||
|
*
|
||||||
|
* *** CAUTION ***
|
||||||
|
* LED Strips require a MOFSET Chip between PWM lines and LEDs,
|
||||||
|
* as the Arduino cannot handle the current the LEDs will require.
|
||||||
|
* Failure to follow this precaution can destroy your Arduino!
|
||||||
|
* *** CAUTION ***
|
||||||
|
*
|
||||||
|
*/
|
||||||
//#define RGB_LED
|
//#define RGB_LED
|
||||||
#if ENABLED(RGB_LED)
|
#if ENABLED(RGB_LED)
|
||||||
#define RGB_LED_R_PIN 34
|
#define RGB_LED_R_PIN 34
|
||||||
@ -1513,6 +1529,21 @@
|
|||||||
#define RGB_LED_B_PIN 35
|
#define RGB_LED_B_PIN 35
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Printer Event LEDs
|
||||||
|
*
|
||||||
|
* During printing, the LEDs will reflect the printer status:
|
||||||
|
*
|
||||||
|
* - Gradually change from blue to violet as the heated bed gets to target temp
|
||||||
|
* - Gradually change from violet to red as the hotend gets to temperature
|
||||||
|
* - Change to white to illuminate work surface
|
||||||
|
* - 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)
|
||||||
|
#define PRINTER_EVENT_LEDS
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************************************************************\
|
/*********************************************************************\
|
||||||
* R/C SERVO support
|
* R/C SERVO support
|
||||||
* Sponsored by TrinityLabs, Reworked by codexmas
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
||||||
|
@ -1514,7 +1514,23 @@
|
|||||||
//define BlinkM/CyzRgb Support
|
//define BlinkM/CyzRgb Support
|
||||||
//#define BLINKM
|
//#define BLINKM
|
||||||
|
|
||||||
// Support for an RGB LED using 3 separate pins with optional PWM
|
/**
|
||||||
|
* RGB LED / LED Strip Control
|
||||||
|
*
|
||||||
|
* Enable support for an RGB LED connected to 5V digital pins, or
|
||||||
|
* an RGB Strip connected to MOSFETs controlled by digital pins.
|
||||||
|
*
|
||||||
|
* Adds the M150 command to set the LED (or LED strip) color.
|
||||||
|
* If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
|
||||||
|
* luminance values can be set from 0 to 255.
|
||||||
|
*
|
||||||
|
* *** CAUTION ***
|
||||||
|
* LED Strips require a MOFSET Chip between PWM lines and LEDs,
|
||||||
|
* as the Arduino cannot handle the current the LEDs will require.
|
||||||
|
* Failure to follow this precaution can destroy your Arduino!
|
||||||
|
* *** CAUTION ***
|
||||||
|
*
|
||||||
|
*/
|
||||||
//#define RGB_LED
|
//#define RGB_LED
|
||||||
#if ENABLED(RGB_LED)
|
#if ENABLED(RGB_LED)
|
||||||
#define RGB_LED_R_PIN 34
|
#define RGB_LED_R_PIN 34
|
||||||
@ -1522,6 +1538,21 @@
|
|||||||
#define RGB_LED_B_PIN 35
|
#define RGB_LED_B_PIN 35
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Printer Event LEDs
|
||||||
|
*
|
||||||
|
* During printing, the LEDs will reflect the printer status:
|
||||||
|
*
|
||||||
|
* - Gradually change from blue to violet as the heated bed gets to target temp
|
||||||
|
* - Gradually change from violet to red as the hotend gets to temperature
|
||||||
|
* - Change to white to illuminate work surface
|
||||||
|
* - 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)
|
||||||
|
#define PRINTER_EVENT_LEDS
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************************************************************\
|
/*********************************************************************\
|
||||||
* R/C SERVO support
|
* R/C SERVO support
|
||||||
* Sponsored by TrinityLabs, Reworked by codexmas
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
||||||
|
@ -1630,7 +1630,23 @@
|
|||||||
//define BlinkM/CyzRgb Support
|
//define BlinkM/CyzRgb Support
|
||||||
//#define BLINKM
|
//#define BLINKM
|
||||||
|
|
||||||
// Support for an RGB LED using 3 separate pins with optional PWM
|
/**
|
||||||
|
* RGB LED / LED Strip Control
|
||||||
|
*
|
||||||
|
* Enable support for an RGB LED connected to 5V digital pins, or
|
||||||
|
* an RGB Strip connected to MOSFETs controlled by digital pins.
|
||||||
|
*
|
||||||
|
* Adds the M150 command to set the LED (or LED strip) color.
|
||||||
|
* If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
|
||||||
|
* luminance values can be set from 0 to 255.
|
||||||
|
*
|
||||||
|
* *** CAUTION ***
|
||||||
|
* LED Strips require a MOFSET Chip between PWM lines and LEDs,
|
||||||
|
* as the Arduino cannot handle the current the LEDs will require.
|
||||||
|
* Failure to follow this precaution can destroy your Arduino!
|
||||||
|
* *** CAUTION ***
|
||||||
|
*
|
||||||
|
*/
|
||||||
//#define RGB_LED
|
//#define RGB_LED
|
||||||
#if ENABLED(RGB_LED)
|
#if ENABLED(RGB_LED)
|
||||||
#define RGB_LED_R_PIN 34
|
#define RGB_LED_R_PIN 34
|
||||||
@ -1638,6 +1654,21 @@
|
|||||||
#define RGB_LED_B_PIN 35
|
#define RGB_LED_B_PIN 35
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Printer Event LEDs
|
||||||
|
*
|
||||||
|
* During printing, the LEDs will reflect the printer status:
|
||||||
|
*
|
||||||
|
* - Gradually change from blue to violet as the heated bed gets to target temp
|
||||||
|
* - Gradually change from violet to red as the hotend gets to temperature
|
||||||
|
* - Change to white to illuminate work surface
|
||||||
|
* - 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)
|
||||||
|
#define PRINTER_EVENT_LEDS
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************************************************************\
|
/*********************************************************************\
|
||||||
* R/C SERVO support
|
* R/C SERVO support
|
||||||
* Sponsored by TrinityLabs, Reworked by codexmas
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
||||||
|
@ -1616,7 +1616,23 @@
|
|||||||
//define BlinkM/CyzRgb Support
|
//define BlinkM/CyzRgb Support
|
||||||
//#define BLINKM
|
//#define BLINKM
|
||||||
|
|
||||||
// Support for an RGB LED using 3 separate pins with optional PWM
|
/**
|
||||||
|
* RGB LED / LED Strip Control
|
||||||
|
*
|
||||||
|
* Enable support for an RGB LED connected to 5V digital pins, or
|
||||||
|
* an RGB Strip connected to MOSFETs controlled by digital pins.
|
||||||
|
*
|
||||||
|
* Adds the M150 command to set the LED (or LED strip) color.
|
||||||
|
* If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
|
||||||
|
* luminance values can be set from 0 to 255.
|
||||||
|
*
|
||||||
|
* *** CAUTION ***
|
||||||
|
* LED Strips require a MOFSET Chip between PWM lines and LEDs,
|
||||||
|
* as the Arduino cannot handle the current the LEDs will require.
|
||||||
|
* Failure to follow this precaution can destroy your Arduino!
|
||||||
|
* *** CAUTION ***
|
||||||
|
*
|
||||||
|
*/
|
||||||
//#define RGB_LED
|
//#define RGB_LED
|
||||||
#if ENABLED(RGB_LED)
|
#if ENABLED(RGB_LED)
|
||||||
#define RGB_LED_R_PIN 34
|
#define RGB_LED_R_PIN 34
|
||||||
@ -1624,6 +1640,21 @@
|
|||||||
#define RGB_LED_B_PIN 35
|
#define RGB_LED_B_PIN 35
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Printer Event LEDs
|
||||||
|
*
|
||||||
|
* During printing, the LEDs will reflect the printer status:
|
||||||
|
*
|
||||||
|
* - Gradually change from blue to violet as the heated bed gets to target temp
|
||||||
|
* - Gradually change from violet to red as the hotend gets to temperature
|
||||||
|
* - Change to white to illuminate work surface
|
||||||
|
* - 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)
|
||||||
|
#define PRINTER_EVENT_LEDS
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************************************************************\
|
/*********************************************************************\
|
||||||
* R/C SERVO support
|
* R/C SERVO support
|
||||||
* Sponsored by TrinityLabs, Reworked by codexmas
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
||||||
|
@ -1612,7 +1612,23 @@
|
|||||||
//define BlinkM/CyzRgb Support
|
//define BlinkM/CyzRgb Support
|
||||||
//#define BLINKM
|
//#define BLINKM
|
||||||
|
|
||||||
// Support for an RGB LED using 3 separate pins with optional PWM
|
/**
|
||||||
|
* RGB LED / LED Strip Control
|
||||||
|
*
|
||||||
|
* Enable support for an RGB LED connected to 5V digital pins, or
|
||||||
|
* an RGB Strip connected to MOSFETs controlled by digital pins.
|
||||||
|
*
|
||||||
|
* Adds the M150 command to set the LED (or LED strip) color.
|
||||||
|
* If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
|
||||||
|
* luminance values can be set from 0 to 255.
|
||||||
|
*
|
||||||
|
* *** CAUTION ***
|
||||||
|
* LED Strips require a MOFSET Chip between PWM lines and LEDs,
|
||||||
|
* as the Arduino cannot handle the current the LEDs will require.
|
||||||
|
* Failure to follow this precaution can destroy your Arduino!
|
||||||
|
* *** CAUTION ***
|
||||||
|
*
|
||||||
|
*/
|
||||||
//#define RGB_LED
|
//#define RGB_LED
|
||||||
#if ENABLED(RGB_LED)
|
#if ENABLED(RGB_LED)
|
||||||
#define RGB_LED_R_PIN 34
|
#define RGB_LED_R_PIN 34
|
||||||
@ -1620,6 +1636,21 @@
|
|||||||
#define RGB_LED_B_PIN 35
|
#define RGB_LED_B_PIN 35
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Printer Event LEDs
|
||||||
|
*
|
||||||
|
* During printing, the LEDs will reflect the printer status:
|
||||||
|
*
|
||||||
|
* - Gradually change from blue to violet as the heated bed gets to target temp
|
||||||
|
* - Gradually change from violet to red as the hotend gets to temperature
|
||||||
|
* - Change to white to illuminate work surface
|
||||||
|
* - 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)
|
||||||
|
#define PRINTER_EVENT_LEDS
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************************************************************\
|
/*********************************************************************\
|
||||||
* R/C SERVO support
|
* R/C SERVO support
|
||||||
* Sponsored by TrinityLabs, Reworked by codexmas
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
||||||
|
@ -1620,7 +1620,23 @@
|
|||||||
//define BlinkM/CyzRgb Support
|
//define BlinkM/CyzRgb Support
|
||||||
//#define BLINKM
|
//#define BLINKM
|
||||||
|
|
||||||
// Support for an RGB LED using 3 separate pins with optional PWM
|
/**
|
||||||
|
* RGB LED / LED Strip Control
|
||||||
|
*
|
||||||
|
* Enable support for an RGB LED connected to 5V digital pins, or
|
||||||
|
* an RGB Strip connected to MOSFETs controlled by digital pins.
|
||||||
|
*
|
||||||
|
* Adds the M150 command to set the LED (or LED strip) color.
|
||||||
|
* If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
|
||||||
|
* luminance values can be set from 0 to 255.
|
||||||
|
*
|
||||||
|
* *** CAUTION ***
|
||||||
|
* LED Strips require a MOFSET Chip between PWM lines and LEDs,
|
||||||
|
* as the Arduino cannot handle the current the LEDs will require.
|
||||||
|
* Failure to follow this precaution can destroy your Arduino!
|
||||||
|
* *** CAUTION ***
|
||||||
|
*
|
||||||
|
*/
|
||||||
//#define RGB_LED
|
//#define RGB_LED
|
||||||
#if ENABLED(RGB_LED)
|
#if ENABLED(RGB_LED)
|
||||||
#define RGB_LED_R_PIN 34
|
#define RGB_LED_R_PIN 34
|
||||||
@ -1628,6 +1644,21 @@
|
|||||||
#define RGB_LED_B_PIN 35
|
#define RGB_LED_B_PIN 35
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Printer Event LEDs
|
||||||
|
*
|
||||||
|
* During printing, the LEDs will reflect the printer status:
|
||||||
|
*
|
||||||
|
* - Gradually change from blue to violet as the heated bed gets to target temp
|
||||||
|
* - Gradually change from violet to red as the hotend gets to temperature
|
||||||
|
* - Change to white to illuminate work surface
|
||||||
|
* - 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)
|
||||||
|
#define PRINTER_EVENT_LEDS
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************************************************************\
|
/*********************************************************************\
|
||||||
* R/C SERVO support
|
* R/C SERVO support
|
||||||
* Sponsored by TrinityLabs, Reworked by codexmas
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
||||||
|
@ -1627,7 +1627,23 @@
|
|||||||
//define BlinkM/CyzRgb Support
|
//define BlinkM/CyzRgb Support
|
||||||
//#define BLINKM
|
//#define BLINKM
|
||||||
|
|
||||||
// Support for an RGB LED using 3 separate pins with optional PWM
|
/**
|
||||||
|
* RGB LED / LED Strip Control
|
||||||
|
*
|
||||||
|
* Enable support for an RGB LED connected to 5V digital pins, or
|
||||||
|
* an RGB Strip connected to MOSFETs controlled by digital pins.
|
||||||
|
*
|
||||||
|
* Adds the M150 command to set the LED (or LED strip) color.
|
||||||
|
* If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
|
||||||
|
* luminance values can be set from 0 to 255.
|
||||||
|
*
|
||||||
|
* *** CAUTION ***
|
||||||
|
* LED Strips require a MOFSET Chip between PWM lines and LEDs,
|
||||||
|
* as the Arduino cannot handle the current the LEDs will require.
|
||||||
|
* Failure to follow this precaution can destroy your Arduino!
|
||||||
|
* *** CAUTION ***
|
||||||
|
*
|
||||||
|
*/
|
||||||
//#define RGB_LED
|
//#define RGB_LED
|
||||||
#if ENABLED(RGB_LED)
|
#if ENABLED(RGB_LED)
|
||||||
#define RGB_LED_R_PIN 34
|
#define RGB_LED_R_PIN 34
|
||||||
@ -1635,6 +1651,21 @@
|
|||||||
#define RGB_LED_B_PIN 35
|
#define RGB_LED_B_PIN 35
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Printer Event LEDs
|
||||||
|
*
|
||||||
|
* During printing, the LEDs will reflect the printer status:
|
||||||
|
*
|
||||||
|
* - Gradually change from blue to violet as the heated bed gets to target temp
|
||||||
|
* - Gradually change from violet to red as the hotend gets to temperature
|
||||||
|
* - Change to white to illuminate work surface
|
||||||
|
* - 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)
|
||||||
|
#define PRINTER_EVENT_LEDS
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************************************************************\
|
/*********************************************************************\
|
||||||
* R/C SERVO support
|
* R/C SERVO support
|
||||||
* Sponsored by TrinityLabs, Reworked by codexmas
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
||||||
|
@ -1517,7 +1517,23 @@
|
|||||||
//define BlinkM/CyzRgb Support
|
//define BlinkM/CyzRgb Support
|
||||||
//#define BLINKM
|
//#define BLINKM
|
||||||
|
|
||||||
// Support for an RGB LED using 3 separate pins with optional PWM
|
/**
|
||||||
|
* RGB LED / LED Strip Control
|
||||||
|
*
|
||||||
|
* Enable support for an RGB LED connected to 5V digital pins, or
|
||||||
|
* an RGB Strip connected to MOSFETs controlled by digital pins.
|
||||||
|
*
|
||||||
|
* Adds the M150 command to set the LED (or LED strip) color.
|
||||||
|
* If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
|
||||||
|
* luminance values can be set from 0 to 255.
|
||||||
|
*
|
||||||
|
* *** CAUTION ***
|
||||||
|
* LED Strips require a MOFSET Chip between PWM lines and LEDs,
|
||||||
|
* as the Arduino cannot handle the current the LEDs will require.
|
||||||
|
* Failure to follow this precaution can destroy your Arduino!
|
||||||
|
* *** CAUTION ***
|
||||||
|
*
|
||||||
|
*/
|
||||||
//#define RGB_LED
|
//#define RGB_LED
|
||||||
#if ENABLED(RGB_LED)
|
#if ENABLED(RGB_LED)
|
||||||
#define RGB_LED_R_PIN 34
|
#define RGB_LED_R_PIN 34
|
||||||
@ -1525,6 +1541,21 @@
|
|||||||
#define RGB_LED_B_PIN 35
|
#define RGB_LED_B_PIN 35
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Printer Event LEDs
|
||||||
|
*
|
||||||
|
* During printing, the LEDs will reflect the printer status:
|
||||||
|
*
|
||||||
|
* - Gradually change from blue to violet as the heated bed gets to target temp
|
||||||
|
* - Gradually change from violet to red as the hotend gets to temperature
|
||||||
|
* - Change to white to illuminate work surface
|
||||||
|
* - 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)
|
||||||
|
#define PRINTER_EVENT_LEDS
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************************************************************\
|
/*********************************************************************\
|
||||||
* R/C SERVO support
|
* R/C SERVO support
|
||||||
* Sponsored by TrinityLabs, Reworked by codexmas
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
||||||
|
@ -1510,7 +1510,23 @@
|
|||||||
//define BlinkM/CyzRgb Support
|
//define BlinkM/CyzRgb Support
|
||||||
//#define BLINKM
|
//#define BLINKM
|
||||||
|
|
||||||
// Support for an RGB LED using 3 separate pins with optional PWM
|
/**
|
||||||
|
* RGB LED / LED Strip Control
|
||||||
|
*
|
||||||
|
* Enable support for an RGB LED connected to 5V digital pins, or
|
||||||
|
* an RGB Strip connected to MOSFETs controlled by digital pins.
|
||||||
|
*
|
||||||
|
* Adds the M150 command to set the LED (or LED strip) color.
|
||||||
|
* If pins are PWM capable (e.g., 4, 5, 6, 11) then a range of
|
||||||
|
* luminance values can be set from 0 to 255.
|
||||||
|
*
|
||||||
|
* *** CAUTION ***
|
||||||
|
* LED Strips require a MOFSET Chip between PWM lines and LEDs,
|
||||||
|
* as the Arduino cannot handle the current the LEDs will require.
|
||||||
|
* Failure to follow this precaution can destroy your Arduino!
|
||||||
|
* *** CAUTION ***
|
||||||
|
*
|
||||||
|
*/
|
||||||
//#define RGB_LED
|
//#define RGB_LED
|
||||||
#if ENABLED(RGB_LED)
|
#if ENABLED(RGB_LED)
|
||||||
#define RGB_LED_R_PIN 34
|
#define RGB_LED_R_PIN 34
|
||||||
@ -1518,6 +1534,21 @@
|
|||||||
#define RGB_LED_B_PIN 35
|
#define RGB_LED_B_PIN 35
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Printer Event LEDs
|
||||||
|
*
|
||||||
|
* During printing, the LEDs will reflect the printer status:
|
||||||
|
*
|
||||||
|
* - Gradually change from blue to violet as the heated bed gets to target temp
|
||||||
|
* - Gradually change from violet to red as the hotend gets to temperature
|
||||||
|
* - Change to white to illuminate work surface
|
||||||
|
* - 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)
|
||||||
|
#define PRINTER_EVENT_LEDS
|
||||||
|
#endif
|
||||||
|
|
||||||
/*********************************************************************\
|
/*********************************************************************\
|
||||||
* R/C SERVO support
|
* R/C SERVO support
|
||||||
* Sponsored by TrinityLabs, Reworked by codexmas
|
* Sponsored by TrinityLabs, Reworked by codexmas
|
||||||
|
Loading…
Reference in New Issue
Block a user