Control Surface master
MIDI Control Surface library for Arduino
Public Member Functions | Private Attributes | List of all members
SelectorSingleLEDCallback Class Reference

#include <Selectors/LEDs/SelectorLEDs.hpp>

Detailed Description

Definition at line 35 of file SelectorLEDs.hpp.

+ Collaboration diagram for SelectorSingleLEDCallback:

Public Member Functions

 SelectorSingleLEDCallback (pin_t ledPin)
 
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

pin_t ledPin
 

Constructor & Destructor Documentation

◆ SelectorSingleLEDCallback()

SelectorSingleLEDCallback ( pin_t  ledPin)
inline

Definition at line 37 of file SelectorLEDs.hpp.

Member Function Documentation

◆ begin()

void begin ( )
inline

Initialize.

Definition at line 40 of file SelectorLEDs.hpp.

◆ update() [1/2]

void update ( )
inline

Refresh, called periodically.

Definition at line 43 of file SelectorLEDs.hpp.

◆ update() [2/2]

void update ( setting_t  oldSetting,
setting_t  newSetting 
)
inline

Called when the setting changes.

Definition at line 46 of file SelectorLEDs.hpp.

Member Data Documentation

◆ ledPin

pin_t ledPin
private

Definition at line 52 of file SelectorLEDs.hpp.


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