Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
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.
 
void update ()
 Refresh, called periodically.
 
void update (setting_t oldSetting, setting_t newSetting)
 Called when the setting changes.
 

Private Attributes

PinList< N > ledPins
 

Constructor & Destructor Documentation

◆ SelectorLEDsCallback()

template<setting_t N>
SelectorLEDsCallback ( const PinList< N > & ledPins)
inline

Definition at line 12 of file SelectorLEDs.hpp.

Member Function Documentation

◆ begin()

template<setting_t N>
void begin ( )
inline

Initialize.

Definition at line 15 of file SelectorLEDs.hpp.

◆ update() [1/2]

template<setting_t N>
void update ( )
inline

Refresh, called periodically.

Definition at line 23 of file SelectorLEDs.hpp.

◆ update() [2/2]

template<setting_t N>
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

template<setting_t N>
PinList<N> ledPins
private

Definition at line 32 of file SelectorLEDs.hpp.


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