Skip to content

Commit 1920a75

Browse files
committed
chore: Code-fence Nano 33BLE
1 parent b67db7b commit 1920a75

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/AltPinSerial/AltPinSerial.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Here, when receiving any message on channel 4, the Arduino
66
// will blink a led and play back a note for 1 second.
77

8-
#if defined(ARDUINO_SAM_DUE) || defined(SAMD_SERIES) || defined(_VARIANT_ARDUINO_ZERO_)
8+
#if defined(ARDUINO_SAM_DUE) || defined(SAMD_SERIES) || defined(_VARIANT_ARDUINO_ZERO_) || defined(ARDUINO_NANO33BLE)
99
/* example not relevant for this hardware (SoftwareSerial not supported) */
1010
MIDI_CREATE_DEFAULT_INSTANCE();
1111
#else

examples/Bench/Bench.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// All other Arduinos: Connect pins 2 and 3.
88
// The program will then wait for 100 loops and print the results.
99

10-
#if defined(ARDUINO_SAM_DUE) || defined(USBCON)
10+
#if defined(ARDUINO_SAM_DUE) || defined(USBCON) || defined(ARDUINO_NANO33BLE)
1111
// Print through USB and bench with Hardware serial
1212
MIDI_CREATE_INSTANCE(HardwareSerial, Serial1, midiBench);
1313
#else

examples/DualMerger/DualMerger.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#if defined(ARDUINO_SAM_DUE)
1010
MIDI_CREATE_INSTANCE(HardwareSerial, Serial, midiA);
1111
MIDI_CREATE_INSTANCE(HardwareSerial, Serial1, midiB);
12-
#elif defined(ARDUINO_SAMD_ZERO)
12+
#elif defined(ARDUINO_SAMD_ZERO) || defined(ARDUINO_NANO33BLE)
1313
MIDI_CREATE_INSTANCE(Serial_, SerialUSB, midiA);
1414
MIDI_CREATE_INSTANCE(HardwareSerial, Serial1, midiB);
1515
#elif defined(USBCON) || defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MKL26Z64__)

0 commit comments

Comments
 (0)