| 
   
    MIDI Control Surface library for Arduino 
   | 
 
 
 
 
Go to the documentation of this file.
   10     : latchPin(latchPin), bitOrder(bitOrder) {}
 
   16     this->updateBufferedOutputs(); 
 
   27     return buffer.get(pin);
 
  
A class for serial-in/parallel-out shift registers, like the 74HC595.
 
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).
 
Array< T, N > generateIncrementalArray(U start=0, V increment=V(1))
Generate an array where the first value is given, and the subsequent values are calculated as the pre...
 
void digitalWrite(pin_t pin, PinStatus_t val) override
Set the state of a given output pin.
 
static const uint8_t greenBit
The position of the green output pin for 3-color LEDs.
 
static const uint8_t redBit
The position of the red output pin for 3-color LEDs.
 
void digitalWriteBuffered(pin_t pin, PinStatus_t val) override
Set the output of a given pin in the software buffer.
 
Array< pin_t, N/3 > greenPins()
Get an array containing all pins with green LEDs.
 
int digitalRead(pin_t pin) override
Get the current state of a given output pin.
 
An array wrapper for easy copying, comparing, and iterating.
 
Array< pin_t, N/3 > redPins()
Get an array containing all pins with red LEDs.
 
static const uint8_t blueBit
The position of the blue output pin for 3-color LEDs.
 
#define BEGIN_AH_NAMESPACE
 
pin_t green(pin_t id)
Get the green output pin of the given LED.
 
pin_t blue(pin_t id)
Get the blue output pin of the given LED.
 
pin_t red(pin_t id)
Get the red output pin of the given LED.
 
Array< pin_t, N/3 > bluePins()
Get an array containing all pins with blue LEDs.