why not just read the tempo value from the pot
in loop:
tempo = analogRead(potPin)/4;
playNote(notes, beats * tempo);[/font]
why not just read the tempo value from the pot
in loop:
tempo = analogRead(potPin)/4;
playNote(notes, beats * tempo);[/font]