Control Surface
main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
src
MIDI_Interfaces
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
8
#include "
SerialMIDI_Interface.hpp
"
9
#include <SoftwareSerial.h>
10
11
BEGIN_CS_NAMESPACE
12
19
class
SoftwareSerialMIDI_Interface
20
:
public
SerialMIDI_Interface
<SoftwareSerial> {
21
public
:
31
SoftwareSerialMIDI_Interface
(SoftwareSerial &serial,
unsigned
long
baud
)
32
:
SerialMIDI_Interface
(serial,
baud
) {}
33
};
34
35
END_CS_NAMESPACE
36
37
#endif
SerialMIDI_Interface.hpp
END_CS_NAMESPACE
#define END_CS_NAMESPACE
Definition
Settings/NamespaceSettings.hpp:14
BEGIN_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Definition
Settings/NamespaceSettings.hpp:11
SerialMIDI_Interface
A wrapper class for MIDI interfaces sending and receiving MIDI messages over a Serial port of generic...
Definition
SerialMIDI_Interface.hpp:75
SerialMIDI_Interface< SoftwareSerial >::baud
const unsigned long baud
Definition
SerialMIDI_Interface.hpp:95
SoftwareSerialMIDI_Interface
A class for MIDI interfaces sending and receiving MIDI messages over a SoftwareSerial interface.
Definition
SoftwareSerialMIDI_Interface.hpp:20
SoftwareSerialMIDI_Interface::SoftwareSerialMIDI_Interface
SoftwareSerialMIDI_Interface(SoftwareSerial &serial, unsigned long baud)
Create a SoftwareSerialMIDI_Interface on the given SoftwareSerial interface with the given baud rate.
Definition
SoftwareSerialMIDI_Interface.hpp:31
Generated by
1.10.0