This is an old version of the documentation. View the latest version
here.
Control Surface
1.0.0
MIDI Control Surface library for Arduino
|
Go to the documentation of this file.
43 __attribute__((deprecated)) {}
93 __attribute__((deprecated)) {
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).
A class for ExtendedIOElements with a fixed size.
An array wrapper for easy copying, comparing, and iterating.
void pinMode(UNUSED_PARAM pin_t pin, UNUSED_PARAM uint8_t mode) override __attribute__((deprecated))
The pinMode function is not implemented because the mode is OUTPUT by definition.
Array< pin_t, N/3 > bluePins()
Get an array containing all pins with blue LEDs.
A class for serial-in/parallel-out shift registers, like the 74HC595.
pin_t blue(pin_t id)
Get the blue output pin of the given LED.
#define BEGIN_CS_NAMESPACE
uint16_t analog_t
The type returned from analogRead and similar functions.
Array< pin_t, N/3 > greenPins()
Get an array containing all pins with green LEDs.
pin_t pin(pin_t pin) const
Get the extended IO pin number of a given physical pin of this extended IO element.
int digitalRead(pin_t pin) override
Get the current state of a given output pin.
analog_t analogRead(pin_t pin) override __attribute__((deprecated))
The analogRead function is deprecated because a shift is always digital.
void analogWrite(pin_t pin, analog_t val) override __attribute__((deprecated))
The analogWrite function is not deprecated because a shift is always digital.
pin_t green(pin_t id)
Get the green output pin of the given LED.
void digitalWrite(pin_t pin, uint8_t val) override
Set the state of a given output pin.
Array< pin_t, N/3 > redPins()
Get an array containing all pins with red LEDs.
pin_t red(pin_t id)
Get the red output pin of the given LED.
A class for arrays of bits.
ShiftRegisterOutBase(pin_t latchPin, uint8_t bitOrder)
Create a new ShiftRegisterOutBase object with a given bit order, and a given number of outputs.