File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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__)
You can’t perform that action at this time.
0 commit comments