File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6
6
// A out = A in + B in
7
7
// B out = B in + A in
8
8
9
- #if defined(ARDUINO_SAM_DUE)
9
+ #if defined(ARDUINO_SAM_DUE) || defined(ARDUINO_ARDUINO_NANO33BLE) || defined(ESP32)
10
10
MIDI_CREATE_INSTANCE (HardwareSerial, Serial, midiA);
11
11
MIDI_CREATE_INSTANCE (HardwareSerial, Serial1, midiB);
12
- #elif defined(ARDUINO_SAMD_ZERO) || defined(ARDUINO_ARDUINO_NANO33BLE) || defined(ESP32)
12
+ #elif defined(ARDUINO_SAMD_ZERO)
13
13
MIDI_CREATE_INSTANCE (Serial_, SerialUSB, midiA);
14
14
MIDI_CREATE_INSTANCE (HardwareSerial, Serial1, midiB);
15
15
#elif defined(USBCON) || defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MKL26Z64__)
16
16
#include < SoftwareSerial.h>
17
17
SoftwareSerial softSerial (2 ,3 );
18
- MIDI_CREATE_INSTANCE (HardwareSerial, Serial1, midiA);
18
+ MIDI_CREATE_INSTANCE (HardwareSerial, Serial1, midiA);
19
19
MIDI_CREATE_INSTANCE (SoftwareSerial, softSerial, midiB);
20
20
#else
21
21
#include < SoftwareSerial.h>
You can’t perform that action at this time.
0 commit comments