generated from Template/H563ZI-HAL-CMake-Template
add Encoder and PID control and Abstacle control
This commit is contained in:
@@ -82,5 +82,5 @@ void DriveBOTH(int16_t speedA,int16_t speedB)
|
||||
MotorB_Dir(1);
|
||||
speedB = -speedB;
|
||||
}
|
||||
MotorA_Speed(speedB);
|
||||
MotorB_Speed(speedB);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user