Skip to content

Commit fe731bc

Browse files
committed
chore: Fix Basic_IO example for ESP32
1 parent 561972c commit fe731bc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

examples/Basic_IO/Basic_IO.ino

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
// Here, when receiving any message on channel 4, the Arduino
55
// will blink a led and play back a note for 1 second.
66

7+
// Some boards don't have this set (ESP32)
8+
#ifndef LED_BUILTIN
9+
#define LED_BUILTIN 0
10+
#endif
11+
712
MIDI_CREATE_DEFAULT_INSTANCE();
813

914
void setup()

0 commit comments

Comments
 (0)