We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e60fc1 commit 4fbe2aeCopy full SHA for 4fbe2ae
1 file changed
examples/TaskTone/TaskTone.ino
@@ -35,7 +35,7 @@ int getDuration(const char* note) {
35
}
36
37
// play note
38
-void playNote(char note) {
+void playNote(char& note) {
39
while (1) {
40
if (_melody[_note][1] == note) {
41
tone(MELODY_PIN, getFreq(_melody[_note]));
0 commit comments