| 
   
    MIDI Control Surface library for Arduino 
   | 
 
 
 
 
Go to the documentation of this file.
    9 #include <Arduino.h> // pin functions and constants 
   12 #include "ExtendedIOElement.hpp" 
   16 #define AH_EXT_PIN(x) (x + NUM_DIGITAL_PINS + NUM_ANALOG_INPUTS) 
   28 #ifndef ARDUINO_API_VERSION 
   72 extern void pinMode(
int pin, uint8_t mode);
 
   85 extern void shiftOut(
int dataPin, 
int clockPin, uint8_t bitOrder, uint8_t val);
 
  
const static uint8_t tmp_OUTPUT
 
uint16_t analog_t
The type returned from analogRead and similar functions.
 
void pinMode(pin_t pin, uint8_t mode)
An ExtIO version of the Arduino function.
 
void analogWrite(pin_t pin, analog_t val)
An ExtIO version of the Arduino function.
 
#define AH_DIAGNOSTIC_POP()
 
ExtendedIOElement & getIOElementOfPin(pin_t pin)
Find the IO element of a given extended IO pin number.
 
#define AH_DIAGNOSTIC_EXTERNAL_HEADER()
 
analog_t analogRead(pin_t pin)
An ExtIO version of the Arduino function.
 
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).
 
int digitalRead(pin_t pin)
An ExtIO version of the Arduino function.
 
const static uint8_t tmp_INPUT
 
void shiftOut(pin_t dataPin, pin_t clockPin, uint8_t bitOrder, uint8_t val)
An ExtIO version of the Arduino function.
 
#define AH_DIAGNOSTIC_WERROR()
 
#define BEGIN_AH_NAMESPACE
 
const static uint8_t tmp_INPUT_PULLUP
 
const static uint8_t tmp_HIGH
 
const static uint8_t tmp_LOW
 
void digitalWrite(pin_t pin, uint8_t val)
An ExtIO version of the Arduino function.