Skip to content

Commit 40d2c3d

Browse files
committed
Fixed typo in Midi communication example
1 parent d4ed482 commit 40d2c3d

File tree

1 file changed

+1
-1
lines changed
  • build/shared/examples/4.Communication/MIDI

1 file changed

+1
-1
lines changed

build/shared/examples/4.Communication/MIDI/Midi.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ void setup() {
2929

3030
void loop() {
3131
// play notes from F#-0 (0x1E) to F#-5 (0x5A):
32-
for (intnote = 0x1E; note < 0x5A; note ++) {
32+
for (int note = 0x1E; note < 0x5A; note ++) {
3333
//Note on channel 1 (0x90), some note value (note), middle velocity (0x45):
3434
noteOn(0x90, note, 0x45);
3535
delay(100);

0 commit comments

Comments
 (0)