Control Surface master
MIDI Control Surface library for Arduino
SoftwareSerialMIDI_Interface.hpp
Go to the documentation of this file.
1#pragma once
2
3// TODO: Teensy 4.0 SoftwareSerial bug
4#if defined(__AVR__) || (defined(TEENSYDUINO) && TEENSYDUINO != 147) || \
5 (defined(TEENSYDUINO) && !defined(__IMXRT1052__) && \
6 !defined(__IMXRT1062__))
7
9#include <SoftwareSerial.h>
10
12
20 : public SerialMIDI_Interface<SoftwareSerial> {
21 public:
31 SoftwareSerialMIDI_Interface(SoftwareSerial &serial, unsigned long baud)
32 : SerialMIDI_Interface(serial, baud) {}
33};
34
36
37#endif
#define END_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
A wrapper class for MIDI interfaces sending and receiving MIDI messages over a Serial port of generic...
A class for MIDI interfaces sending and receiving MIDI messages over a SoftwareSerial interface.
SoftwareSerialMIDI_Interface(SoftwareSerial &serial, unsigned long baud)
Create a SoftwareSerialMIDI_Interface on the given SoftwareSerial interface with the given baud rate.