Control Surface stm32
MIDI Control Surface library for Arduino
Public Member Functions | Private Attributes | List of all members
SelectorLEDsCallback< N > Class Template Reference

#include <Selectors/LEDs/SelectorLEDs.hpp>

Detailed Description

template<setting_t N>
class SelectorLEDsCallback< N >

Definition at line 10 of file SelectorLEDs.hpp.

+ Collaboration diagram for SelectorLEDsCallback< N >:

Public Member Functions

 SelectorLEDsCallback (const PinList< N > &ledPins)
 
void begin ()
 Initialize. More...
 
void update ()
 Refresh, called periodically. More...
 
void update (setting_t oldSetting, setting_t newSetting)
 Called when the setting changes. More...
 

Private Attributes

PinList< N > ledPins
 

Constructor & Destructor Documentation

◆ SelectorLEDsCallback()

SelectorLEDsCallback ( const PinList< N > &  ledPins)
inline

Definition at line 12 of file SelectorLEDs.hpp.

Member Function Documentation

◆ begin()

void begin ( )
inline

Initialize.

Definition at line 15 of file SelectorLEDs.hpp.

◆ update() [1/2]

void update ( )
inline

Refresh, called periodically.

Definition at line 23 of file SelectorLEDs.hpp.

◆ update() [2/2]

void update ( setting_t  oldSetting,
setting_t  newSetting 
)
inline

Called when the setting changes.

Definition at line 26 of file SelectorLEDs.hpp.

Member Data Documentation

◆ ledPins

PinList<N> ledPins
private

Definition at line 32 of file SelectorLEDs.hpp.


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