Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
SoftwareSerialDebugMIDI_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 SerialDebugMIDI_Interface<SoftwareSerial> {
21 public:
33 SoftwareSerialDebugMIDI_Interface(SoftwareSerial &serial,
34 unsigned long baud,
35 const char *prefix = nullptr)
38 SoftwareSerialDebugMIDI_Interface(SoftwareSerial &serial,
39 const char *prefix)
41};
42
50 : public SerialDebugMIDI_Output<SoftwareSerial> {
51 public:
63 SoftwareSerialDebugMIDI_Output(SoftwareSerial &serial, unsigned long baud,
64 const char *prefix = nullptr)
66};
67
69
70#endif
#define END_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
A wrapper class for debug MIDI interfaces sending and receiving human-readable MIDI messages over a S...
A wrapper class for debug MIDI outputs sending human-readable MIDI messages over a Serial port of cla...
A class for debug MIDI interfaces sending and receiving human-readable MIDI messages over a SoftwareS...
SoftwareSerialDebugMIDI_Interface(SoftwareSerial &serial, const char *prefix)
SoftwareSerialDebugMIDI_Interface(SoftwareSerial &serial, unsigned long baud, const char *prefix=nullptr)
Construct a SoftwareSerialDebugMIDI_Interface on the given SoftwareSerial interface with the given ba...
A class for debug MIDI outputs sending human-readable MIDI messages over a SoftwareSerial interface.
SoftwareSerialDebugMIDI_Output(SoftwareSerial &serial, unsigned long baud, const char *prefix=nullptr)
Construct a SoftwareSerialDebugMIDI_Output on the given SoftwareSerial interface with the given baud ...