Control Surface main
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)

Definition at line 12 of file SelectorLEDs.hpp.

Member Function Documentation

◆ begin()

void begin ( )


Definition at line 15 of file SelectorLEDs.hpp.

◆ update() [1/2]

void update ( )

Refresh, called periodically.

Definition at line 23 of file SelectorLEDs.hpp.

◆ update() [2/2]

void update ( setting_t  oldSetting,
setting_t  newSetting 

Called when the setting changes.

Definition at line 26 of file SelectorLEDs.hpp.

Member Data Documentation

◆ ledPins

PinList<N> ledPins

Definition at line 32 of file SelectorLEDs.hpp.

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