Fixed typo in Midi communication example

This commit is contained in:
tigoe 2011-02-08 13:46:31 -08:00
parent d4ed482d2a
commit 40d2c3db0b
1 changed files with 1 additions and 1 deletions

View File

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