Reverse motor logic

This commit is contained in:
Matt McWilliams 2023-02-19 19:42:52 -05:00
parent 724da68b0e
commit dae438443f
1 changed files with 4 additions and 4 deletions

View File

@ -142,8 +142,8 @@ void forward (int source) {
set_speed(Fmotor, pullSpeed);
set_speed(Bmotor, pushSpeed);
Frunning = true;
clockwise(Fmotor);
clockwise(Bmotor);
counter_clockwise(Fmotor);
counter_clockwise(Bmotor);
}
void backward (int source) {
@ -157,8 +157,8 @@ void backward (int source) {
set_speed(Bmotor, pullSpeed);
set_speed(Fmotor, pushSpeed);
Brunning = true;
counter_clockwise(Bmotor);
counter_clockwise(Fmotor);
clockwise(Bmotor);
clockwise(Fmotor);
}
void monitor () {