Prusa MINI Firmware overview
|
Go to the documentation of this file.
29 #include "../../inc/MarlinConfig.h"
36 static bool leds_off_after_print;
39 static inline void set_done() {
40 #if ENABLED(LED_COLOR_PRESETS)
49 static inline LEDColor onHotendHeatingStart() { old_intensity = 0;
return leds.get_color(); }
50 static void onHotendHeating(
const float &
start,
const float ¤t,
const float &target);
54 static inline LEDColor onBedHeatingStart() { old_intensity = 127;
return leds.get_color(); }
55 static void onBedHeating(
const float &
start,
const float ¤t,
const float &target);
58 #if HAS_TEMP_HOTEND || HAS_HEATED_BED
63 #if ENABLED(SDSUPPORT)
65 static inline void onPrintCompleted() {
68 leds_off_after_print =
true;
75 static inline void onResumeAfterWait() {
77 if (leds_off_after_print) {
79 leds_off_after_print =
false;
static void set_color(const LEDColor &color)
PrinterEventLEDs printerEventLEDs
#define MakeLEDColor(R, G, B, W, I)
Definition: leds.h:124
uint8_t r
Definition: leds.h:42
start
Definition: g29_auto.py:150
Definition: printer_event_leds.h:31
long map(long x, long in_min, long in_max, long out_min, long out_max)
Definition: WMath.cpp:49
static void set_off()
Definition: leds.h:176
png_structrp int png_fixed_point red
Definition: png.h:1083
#define LEDColorWhite()
Definition: leds.h:143
#define constrain(amt, low, high)
Definition: wiring_constants.h:79
static uint8_t brightness()
Definition: neopixel.h:114
const uint8_t[]
Definition: 404_html.c:3
void safe_delay(millis_t ms)
Definition: utility.cpp:28
uint8_t g
Definition: leds.h:42
list b
Definition: createSpeedLookupTable.py:30
static void set_green()
Definition: leds.h:177
#define ENABLED(V...)
Definition: macros.h:177