Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Namespaces | Functions
ExtendedInputOutput.cpp File Reference
#include "ExtendedInputOutput.hpp"
#include "ExtendedIOElement.hpp"
#include <AH/Error/Error.hpp>
+ Include dependency graph for ExtendedInputOutput.cpp:

Go to the source code of this file.

Namespaces

namespace  AH
 PrintStream library
 
namespace  AH::ExtIO
 A namespace with alternatives to the standard Arduino IO functions that can be used with extended IO pin numbers.
 

Functions

template<class T >
static bool inRange (T target, T start, T end)
 
ExtendedIOElementgetIOElementOfPinOrNull (pin_t pin)
 Find the IO element of a given extended IO pin number.
 
ExtendedIOElementgetIOElementOfPin (pin_t pin)
 Find the IO element of a given extended IO pin number.
 
void pinMode (pin_t pin, PinMode_t mode)
 An ExtIO version of the Arduino function.
 
void digitalWrite (pin_t pin, PinStatus_t val)
 An ExtIO version of the Arduino function.
 
PinStatus_t digitalRead (pin_t pin)
 An ExtIO version of the Arduino function.
 
analog_t analogRead (pin_t pin)
 An ExtIO version of the Arduino function.
 
void analogWrite (pin_t pin, analog_t val)
 An ExtIO version of the Arduino function.
 
void analogWrite (pin_t pin, int val)
 An ExtIO version of the Arduino function.
 
void pinModeBuffered (pin_t pin, PinMode_t mode)
 A buffered ExtIO version of the Arduino function.
 
void digitalWriteBuffered (pin_t pin, PinStatus_t val)
 A buffered ExtIO version of the Arduino function.
 
PinStatus_t digitalReadBuffered (pin_t pin)
 A buffered ExtIO version of the Arduino function.
 
analog_t analogReadBuffered (pin_t pin)
 A buffered ExtIO version of the Arduino function.
 
void analogWriteBuffered (pin_t pin, analog_t val)
 A buffered ExtIO version of the Arduino function.
 
void analogWriteBuffered (pin_t pin, int val)
 A buffered ExtIO version of the Arduino function.
 
void shiftOut (pin_t dataPin, pin_t clockPin, BitOrder_t bitOrder, uint8_t val)
 An ExtIO version of the Arduino function.