update roller2
+ onoff==2 mode: timed torque driving. (use X1 extra. para.)
This commit is contained in:
parent
f2fbd68bf5
commit
dcd149b878
1 changed files with 6 additions and 0 deletions
|
|
@ -252,6 +252,9 @@ void onNoteHandler(Note & n) {
|
|||
watch_counter = 0;
|
||||
} else if (n.onoff == 0) {
|
||||
rest_task.restartDelayed(10);
|
||||
} else if (n.onoff == 2) {
|
||||
set_speed_task.restartDelayed(10);
|
||||
rest_task.restartDelayed(10 + n.x1);
|
||||
}
|
||||
}
|
||||
//
|
||||
|
|
@ -263,6 +266,9 @@ void onNoteHandler(Note & n) {
|
|||
watch2_counter = 0;
|
||||
} else if (n.onoff == 0) {
|
||||
rest2_task.restartDelayed(10);
|
||||
} else if (n.onoff == 2) {
|
||||
set_speed2_task.restartDelayed(10);
|
||||
rest2_task.restartDelayed(10 + n.x1);
|
||||
}
|
||||
}
|
||||
//
|
||||
|
|
|
|||
Loading…
Reference in a new issue