Fixed timing for the music player.
This commit is contained in:
parent
b2e597c309
commit
d4298095c5
|
@ -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, ...}
|
||||||
|
|
Loading…
Reference in New Issue