Fixed timing for the music player.

This commit is contained in:
Andrew Lalis 2017-02-17 11:03:21 +01:00
parent b2e597c309
commit d4298095c5
1 changed files with 1 additions and 1 deletions

View File

@ -472,7 +472,7 @@ void setIndicatorColor(byte red, byte green, byte blue) {
void setBPM(short newBPM) { void setBPM(short newBPM) {
BPM = newBPM; BPM = newBPM;
noteDuration = 15000 / BPM; noteDuration = 240000 / BPM;
} }
//Begins playing a new sequence of the form: {Length, BPM, note 1, time 1, note 2, time 2, ...} //Begins playing a new sequence of the form: {Length, BPM, note 1, time 1, note 2, time 2, ...}