Callback for Note or CC range or value input that displays the value to a normal on/off LED. More...
#include <MIDI_Inputs/LEDs/NoteCCRangeLEDs.hpp>
Public Member Functions | |
| NoteCCLED (const PinList< NumLEDs > &ledPins) | |
| void | setThreshold (uint8_t threshold) | 
| uint8_t | getThreshold () const | 
| void | begin (const INoteCCValue &t) override | 
| Initialize: called once.  More... | |
| void | update (const INoteCCValue &t, uint8_t index) override | 
| Update the given index: called when a new message is received for this index.  More... | |
| virtual void | updateAll (const INoteCCValue ¬eccval) | 
| Update all values: called when a bank change causes all values to (possibly) change, or when the entire range is reset to zero.  More... | |
Private Attributes | |
| PinList< NumLEDs > | ledPins | 
| uint8_t | threshold = 0x3F | 
Callback for Note or CC range or value input that displays the value to a normal on/off LED.
Definition at line 15 of file NoteCCRangeLEDs.hpp.
      
  | 
  inline | 
Definition at line 17 of file NoteCCRangeLEDs.hpp.
      
  | 
  inline | 
Definition at line 19 of file NoteCCRangeLEDs.hpp.
      
  | 
  inline | 
Definition at line 20 of file NoteCCRangeLEDs.hpp.
      
  | 
  inlineoverridevirtual | 
Initialize: called once.
Reimplemented from SimpleNoteCCValueCallback.
Definition at line 22 of file NoteCCRangeLEDs.hpp.
      
  | 
  inlineoverridevirtual | 
Update the given index: called when a new message is received for this index.
Implements SimpleNoteCCValueCallback.
Definition at line 28 of file NoteCCRangeLEDs.hpp.
      
  | 
  inlinevirtualinherited | 
Update all values: called when a bank change causes all values to (possibly) change, or when the entire range is reset to zero.
Definition at line 58 of file NoteCCRange.hpp.
      
  | 
  private | 
Definition at line 35 of file NoteCCRangeLEDs.hpp.
      
  | 
  private | 
Definition at line 36 of file NoteCCRangeLEDs.hpp.
 1.8.16