mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Fixed typo in Midi communication example
This commit is contained in:
@ -29,7 +29,7 @@ void setup() {
|
|||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
// play notes from F#-0 (0x1E) to F#-5 (0x5A):
|
// 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):
|
//Note on channel 1 (0x90), some note value (note), middle velocity (0x45):
|
||||||
noteOn(0x90, note, 0x45);
|
noteOn(0x90, note, 0x45);
|
||||||
delay(100);
|
delay(100);
|
||||||
|
Reference in New Issue
Block a user