Improvements

This commit is contained in:
Riku Isokoski
2021-08-01 13:05:48 +03:00
parent 5bdef365f2
commit e6dcb3009f
8 changed files with 70 additions and 131 deletions

View File

@@ -109,9 +109,9 @@ bool Metronome::Refresh() {
startTime = xTaskGetTickCount();
if (counter == 0) {
counter = bpb;
motorController.SetDuration(90);
motorController.RunForDuration(90);
} else {
motorController.SetDuration(30);
motorController.RunForDuration(30);
}
}
break;