Skip to content

Commit 5d8b07c

Browse files
committed
fix(usbmidi): Fix MidiController example
1 parent 3088afa commit 5d8b07c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: libraries/USB/examples/MIDI/MidiController/MidiController.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void loop() {}
2222
#include "USBMIDI.h"
2323
USBMIDI MIDI;
2424

25-
#define MIDI_NOTE_C4 64
25+
#define MIDI_NOTE_C4 60
2626

2727
#define MIDI_CC_CUTOFF 74
2828

@@ -69,7 +69,7 @@ void setup() {
6969
Serial.begin(115200);
7070
MIDI.begin();
7171
USB.begin();
72-
72+
pinMode(BUTTON_PIN, INPUT_PULLUP);
7373
primeControllerInputValue();
7474
}
7575

0 commit comments

Comments
 (0)