mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-21 15:54:39 +01:00
Merge pull request #2117 from amulya349/master
Fixed mistake in comment
This commit is contained in:
commit
09d0843ff3
@ -40,7 +40,7 @@ void RobotControl::playMelody(char* script){
|
|||||||
case 'C': playNote(202, time, modifier); break; // Play a C#
|
case 'C': playNote(202, time, modifier); break; // Play a C#
|
||||||
case 'd': playNote(190, time, modifier); break; // Play a D
|
case 'd': playNote(190, time, modifier); break; // Play a D
|
||||||
case 'D': playNote(180, 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(160, time, modifier); break; // Play an F
|
||||||
case 'F': playNote(151, 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
|
case 'g': playNote(143, time, modifier); break; // Play a G
|
||||||
@ -97,4 +97,4 @@ void RobotControl::playFile(char* filename){
|
|||||||
|
|
||||||
void RobotControl::stopPlayFile(){
|
void RobotControl::stopPlayFile(){
|
||||||
melody.close();
|
melody.close();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user