Improvements
This commit is contained in:
parent
5bdef365f2
commit
e6dcb3009f
8 changed files with 70 additions and 131 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue