Control Surface
main
MIDI Control Surface library for Arduino
Toggle main menu visibility
Loading...
Searching...
No Matches
src
MIDI_Interfaces
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
8
#include "
DebugMIDI_Interface.hpp
"
9
#include <SoftwareSerial.h>
10
11
BEGIN_CS_NAMESPACE
12
19
class
SoftwareSerialDebugMIDI_Interface
20
:
public
SerialDebugMIDI_Interface
<SoftwareSerial> {
21
public
:
33
SoftwareSerialDebugMIDI_Interface
(SoftwareSerial &serial,
34
unsigned
long
baud
,
35
const
char
*
prefix
=
nullptr
)
36
:
SerialDebugMIDI_Interface
(serial,
baud
,
prefix
) {}
37
38
SoftwareSerialDebugMIDI_Interface
(SoftwareSerial &serial,
39
const
char
*
prefix
)
40
:
SerialDebugMIDI_Interface
(serial,
prefix
) {}
41
};
42
49
class
SoftwareSerialDebugMIDI_Output
50
:
public
SerialDebugMIDI_Output
<SoftwareSerial> {
51
public
:
63
SoftwareSerialDebugMIDI_Output
(SoftwareSerial &serial,
unsigned
long
baud
,
64
const
char
*
prefix
=
nullptr
)
65
:
SerialDebugMIDI_Output
(serial,
baud
,
prefix
) {}
66
};
67
68
END_CS_NAMESPACE
69
70
#endif
DebugMIDI_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
SerialDebugMIDI_Interface< SoftwareSerial >::prefix
const char * prefix
Definition
DebugMIDI_Interface.hpp:31
SerialDebugMIDI_Interface< SoftwareSerial >::SerialDebugMIDI_Interface
SerialDebugMIDI_Interface(SoftwareSerial &serial, unsigned long baud=AH::defaultBaudRate, const char *prefix=nullptr)
Definition
DebugMIDI_Interface.hpp:261
SerialDebugMIDI_Interface< SoftwareSerial >::baud
const unsigned long baud
Definition
DebugMIDI_Interface.hpp:275
SerialDebugMIDI_Output< SoftwareSerial >::SerialDebugMIDI_Output
SerialDebugMIDI_Output(SoftwareSerial &serial, unsigned long baud=AH::defaultBaudRate, const char *prefix=nullptr)
Definition
DebugMIDI_Interface.hpp:100
SerialDebugMIDI_Output< SoftwareSerial >::baud
const unsigned long baud
Definition
DebugMIDI_Interface.hpp:113
SoftwareSerialDebugMIDI_Interface::SoftwareSerialDebugMIDI_Interface
SoftwareSerialDebugMIDI_Interface(SoftwareSerial &serial, const char *prefix)
Definition
SoftwareSerialDebugMIDI_Interface.hpp:38
SoftwareSerialDebugMIDI_Interface::SoftwareSerialDebugMIDI_Interface
SoftwareSerialDebugMIDI_Interface(SoftwareSerial &serial, unsigned long baud, const char *prefix=nullptr)
Construct a SoftwareSerialDebugMIDI_Interface on the given SoftwareSerial interface with the given ba...
Definition
SoftwareSerialDebugMIDI_Interface.hpp:33
SoftwareSerialDebugMIDI_Output::SoftwareSerialDebugMIDI_Output
SoftwareSerialDebugMIDI_Output(SoftwareSerial &serial, unsigned long baud, const char *prefix=nullptr)
Construct a SoftwareSerialDebugMIDI_Output on the given SoftwareSerial interface with the given baud ...
Definition
SoftwareSerialDebugMIDI_Interface.hpp:63
Generated by
1.17.0