| 
   
    MIDI Control Surface library for Arduino 
   | 
 
 
 
 
Go to the documentation of this file.
   27     void sendImpl(uint8_t header, uint8_t d1, uint8_t d2, uint8_t cn) 
override;
 
   29     void sendImpl(uint8_t header, uint8_t d1, uint8_t cn) 
override;
 
   31     void sendImpl(
const uint8_t *data, 
size_t length, uint8_t cn) 
override;
 
   33     void sendImpl(uint8_t rt, uint8_t cn) 
override;
 
   43         return hex < 
'a' ? 
hex - 
'0' : 
hex - 
'a' + 10;
 
  128 #if defined(__AVR__) || (defined(TEENSYDUINO) && TEENSYDUINO != 147) ||        \ 
  129     (defined(TEENSYDUINO) && !defined(__IMXRT1052__) &&                        \ 
  130      !defined(__IMXRT1062__)) 
  131 #include <SoftwareSerial.h> 
  
void sendImpl(uint8_t header, uint8_t d1, uint8_t d2, uint8_t cn) override
Low-level function for sending a 3-byte MIDI message.
 
A wrapper class for debug MIDI interfaces sending and receiving human-readable MIDI messages over a S...
 
A class for debug MIDI interfaces sending and receiving human-readable MIDI messages over a HardwareS...
 
static uint8_t hexCharToNibble(char hex)
Convert a hexadecimal character to a 4-bit nibble.
 
#define BEGIN_CS_NAMESPACE
 
SerialDebugMIDI_Interface(T &serial, unsigned long baud=AH::defaultBaudRate)
Construct a new Debug MIDI Interface on the given Serial interface with the given baud rate.
 
USBDebugMIDI_Interface(unsigned long baud=AH::defaultBaudRate)
Construct a USBDebugMIDI_Interface with the given baud rate.
 
constexpr unsigned long defaultBaudRate
The default baud rate for debug output.
 
StreamDebugMIDI_Interface(Stream &stream)
Construct a debug MIDI interface on the given Stream.
 
Print & hex(Print &printer)
 
MIDIReadEvent read() override
Try reading and parsing a single incoming MIDI message.
 
void begin() override
Start the Serial interface at the predefined baud rate.
 
A class for MIDI interfaces sending and receiving human-readable MIDI messages over a Stream.
 
A class for debug MIDI interfaces sending and receiving human-readable MIDI messages over a SoftwareS...
 
MIDIReadEvent
Result of the MIDI interface read methods.
 
SoftwareSerialDebugMIDI_Interface(SoftwareSerial &serial, unsigned long baud)
Construct a SoftwareSerialDebugMIDI_Interface on the given SoftwareSerial interface with the given ba...
 
A class for MIDI interfaces sending and receiving MIDI messages over a Stream.
 
A class for debug MIDI interfaces sending and receiving human-readable MIDI messages over the USB CDC...
 
HardwareSerialDebugMIDI_Interface(HardwareSerial &serial, unsigned long baud=AH::defaultBaudRate)
Construct a new Debug MIDI Interface on the given HardwareSerial interface with the given baud rate.