Kaleidoscope
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
LEDControl_ Class Reference

#include <Kaleidoscope-LEDControl.h>

Inheritance diagram for LEDControl_:
Inheritance graph
[legend]
Collaboration diagram for LEDControl_:
Collaboration graph
[legend]

Public Member Functions

 LEDControl_ (void)
 
void begin (void) final
 

Static Public Member Functions

static void next_mode (void)
 
static void setup (void)
 
static void update (void)
 
static void set_mode (uint8_t mode)
 
static uint8_t get_mode ()
 
static void init_mode (void)
 
static int8_t mode_add (LEDMode *mode)
 
static void setCrgbAt (uint8_t i, cRGB crgb)
 
static void setCrgbAt (byte row, byte col, cRGB color)
 
static cRGB getCrgbAt (uint8_t i)
 
static void syncLeds (void)
 
static void set_all_leds_to (uint8_t r, uint8_t g, uint8_t b)
 
static void set_all_leds_to (cRGB color)
 
static void activate (LEDMode *mode)
 
static bool focusHook (const char *command)
 

Static Public Attributes

static uint16_t syncDelay = 16
 

Constructor & Destructor Documentation

◆ LEDControl_()

LEDControl_::LEDControl_ ( void  )

Member Function Documentation

◆ activate()

void LEDControl_::activate ( LEDMode mode)
static

◆ begin()

void LEDControl_::begin ( void  )
finalvirtual

Implements KaleidoscopePlugin.

◆ focusHook()

bool LEDControl_::focusHook ( const char *  command)
static

◆ get_mode()

uint8_t LEDControl_::get_mode ( void  )
static

◆ getCrgbAt()

cRGB LEDControl_::getCrgbAt ( uint8_t  i)
static

◆ init_mode()

void LEDControl_::init_mode ( void  )
static

◆ mode_add()

int8_t LEDControl_::mode_add ( LEDMode mode)
static

◆ next_mode()

void LEDControl_::next_mode ( void  )
static

◆ set_all_leds_to() [1/2]

void LEDControl_::set_all_leds_to ( uint8_t  r,
uint8_t  g,
uint8_t  b 
)
static

◆ set_all_leds_to() [2/2]

void LEDControl_::set_all_leds_to ( cRGB  color)
static

◆ set_mode()

void LEDControl_::set_mode ( uint8_t  mode)
static

◆ setCrgbAt() [1/2]

void LEDControl_::setCrgbAt ( uint8_t  i,
cRGB  crgb 
)
static

◆ setCrgbAt() [2/2]

void LEDControl_::setCrgbAt ( byte  row,
byte  col,
cRGB  color 
)
static

◆ setup()

static void LEDControl_::setup ( void  )
static

◆ syncLeds()

void LEDControl_::syncLeds ( void  )
static

◆ update()

void LEDControl_::update ( void  )
static

Member Data Documentation

◆ syncDelay

uint16_t LEDControl_::syncDelay = 16
static

The documentation for this class was generated from the following files: