mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-20 14:54:31 +01:00
Fixed error in comment
This commit is contained in:
parent
2c3058b2d5
commit
e6923526d3
@ -40,7 +40,7 @@ void RobotControl::playMelody(char* script){
|
||||
case 'C': playNote(202, time, modifier); break; // Play a C#
|
||||
case 'd': playNote(190, time, modifier); break; // Play a D
|
||||
case 'D': playNote(180, time, modifier); break; // Play a D#
|
||||
case 'e': playNote(170, time, modifier); break; // Play an F
|
||||
case 'e': playNote(170, time, modifier); break; // Play an E
|
||||
case 'f': playNote(160, time, modifier); break; // Play an F
|
||||
case 'F': playNote(151, time, modifier); break; // Play an F#
|
||||
case 'g': playNote(143, time, modifier); break; // Play a G
|
||||
@ -97,4 +97,4 @@ void RobotControl::playFile(char* filename){
|
||||
|
||||
void RobotControl::stopPlayFile(){
|
||||
melody.close();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user