MIDI Control Surface library for Arduino
|
Go to the documentation of this file.
8 #include "StaticSizeExtendedIOElement.hpp"
33 void begin()
override { init(); }
39 void pinMode(
pin_t pin, uint8_t mode)
override __attribute__((deprecated)) {
98 __attribute__((deprecated)) {
108 for (uint8_t i = 0; i < buffer.getBufferLength(); i++)
109 sendRaw(i + 1, buffer.getByte(i));
A base class for classes that control MAX7219 LED drivers.
void begin() override
Initialize.
int digitalRead(pin_t pin)
An ExtIO version of the Arduino function.
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).
#define AH_DIAGNOSTIC_POP()
void pinMode(pin_t pin, uint8_t mode) override __attribute__((deprecated))
The pinMode function is not implemented because the mode is OUTPUT by definition.
MAX7219(pin_t loadPin)
Create a MAX7219 ExtendedIOElement.
void digitalWrite(pin_t pin, uint8_t val) override
Set the state of a given output pin.
uint16_t analog_t
The type returned from analogRead and similar functions.
A class for LED outputs using the MAX7219 LED display driver.
A class for ExtendedIOElements with a fixed size.
void update() override
Write the buffer to the display.
analog_t analogRead(pin_t pin) override __attribute__((deprecated))
The analogRead function is deprecated because a MAX7219 is always digital.
#define AH_DIAGNOSTIC_WERROR()
#define BEGIN_AH_NAMESPACE
void analogWrite(pin_t pin, analog_t val) override __attribute__((deprecated))
The analogWrite function is deprecated because a MAX7219 is always digital.
int digitalRead(pin_t pin) override
Get the current state of a given output.
void digitalWrite(pin_t pin, uint8_t val)
An ExtIO version of the Arduino function.