This is an old version of the documentation. View the latest version here.
Control Surface  1.0.0
MIDI Control Surface library for Arduino
Public Member Functions | Private Attributes | List of all members
NoteCCLED< NumLEDs > Class Template Reference

#include <NoteCCRangeLEDs.hpp>

Inheritance diagram for NoteCCLED< NumLEDs >:
Collaboration diagram for NoteCCLED< NumLEDs >:

Public Member Functions

 NoteCCLED (const PinList< NumLEDs > &ledPins)
 
void setThreshold (uint8_t threshold)
 
uint8_t getThreshold () const
 
void begin (const INoteCCValue &t) override
 
void update (const INoteCCValue &t, uint8_t index) override
 
virtual void updateAll (const INoteCCValue &noteccval)
 

Private Attributes

PinList< NumLEDs > ledPins
 
uint8_t threshold = 0x3F
 

Detailed Description

template<uint8_t NumLEDs>
class NoteCCLED< NumLEDs >

Definition at line 7 of file NoteCCRangeLEDs.hpp.

Constructor & Destructor Documentation

◆ NoteCCLED()

template<uint8_t NumLEDs>
NoteCCLED< NumLEDs >::NoteCCLED ( const PinList< NumLEDs > &  ledPins)
inline

Definition at line 9 of file NoteCCRangeLEDs.hpp.

Member Function Documentation

◆ setThreshold()

template<uint8_t NumLEDs>
void NoteCCLED< NumLEDs >::setThreshold ( uint8_t  threshold)
inline

Definition at line 11 of file NoteCCRangeLEDs.hpp.

◆ getThreshold()

template<uint8_t NumLEDs>
uint8_t NoteCCLED< NumLEDs >::getThreshold ( ) const
inline

Definition at line 12 of file NoteCCRangeLEDs.hpp.

◆ begin()

template<uint8_t NumLEDs>
void NoteCCLED< NumLEDs >::begin ( const INoteCCValue t)
inlineoverridevirtual

Reimplemented from SimpleNoteCCValueCallback.

Definition at line 14 of file NoteCCRangeLEDs.hpp.

◆ update()

template<uint8_t NumLEDs>
void NoteCCLED< NumLEDs >::update ( const INoteCCValue t,
uint8_t  index 
)
inlineoverridevirtual

Implements SimpleNoteCCValueCallback.

Definition at line 20 of file NoteCCRangeLEDs.hpp.

◆ updateAll()

virtual void SimpleNoteCCValueCallback::updateAll ( const INoteCCValue noteccval)
inlinevirtualinherited

Definition at line 36 of file NoteCCRange.hpp.

Member Data Documentation

◆ ledPins

template<uint8_t NumLEDs>
PinList<NumLEDs> NoteCCLED< NumLEDs >::ledPins
private

Definition at line 27 of file NoteCCRangeLEDs.hpp.

◆ threshold

template<uint8_t NumLEDs>
uint8_t NoteCCLED< NumLEDs >::threshold = 0x3F
private

Definition at line 28 of file NoteCCRangeLEDs.hpp.


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