Prusa MINI Firmware overview
LEDLights Class Reference

#include <leds.h>

Public Member Functions

 LEDLights ()
 
void set_color (uint8_t r, uint8_t g, uint8_t b)
 

Static Public Member Functions

static void setup ()
 
static void set_color (const LEDColor &color)
 
static void set_off ()
 
static void set_green ()
 
static void set_white ()
 

Constructor & Destructor Documentation

◆ LEDLights()

LEDLights::LEDLights ( )
148 {} // ctor

Member Function Documentation

◆ setup()

static void LEDLights::setup ( )
static
Here is the caller graph for this function:

◆ set_color() [1/2]

static void LEDLights::set_color ( const LEDColor color)
static
Here is the caller graph for this function:

◆ set_color() [2/2]

void LEDLights::set_color ( uint8_t  r,
uint8_t  g,
uint8_t  b 
)
168  {
169  set_color(MakeLEDColor(r, g, b, w, i)
170  #if ENABLED(NEOPIXEL_LED)
171  , isSequence
172  #endif
173  );
174  }
Here is the call graph for this function:

◆ set_off()

static void LEDLights::set_off ( )
static
176 { set_color(LEDColorOff()); }
Here is the call graph for this function:

◆ set_green()

static void LEDLights::set_green ( )
static
177 { set_color(LEDColorGreen()); }
Here is the call graph for this function:

◆ set_white()

static void LEDLights::set_white ( )
static
178 { set_color(LEDColorWhite()); }
Here is the call graph for this function:
LEDLights::set_color
static void set_color(const LEDColor &color)
MakeLEDColor
#define MakeLEDColor(R, G, B, W, I)
Definition: leds.h:124
LEDColorGreen
#define LEDColorGreen()
Definition: leds.h:136
i
uint8_t i
Definition: screen_test_graph.c:72
LEDColorWhite
#define LEDColorWhite()
Definition: leds.h:143
LEDColorOff
#define LEDColorOff()
Definition: leds.h:127
createSpeedLookupTable.b
list b
Definition: createSpeedLookupTable.py:30
ENABLED
#define ENABLED(V...)
Definition: macros.h:177