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

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: