correct SYSTICK and RELOAD_CYCLES

This commit is contained in:
2025-11-20 16:32:17 +08:00
parent a9aa2e19c8
commit a2d2773ace
7 changed files with 50 additions and 147 deletions

View File

@@ -13,7 +13,7 @@ extern "C" {
#define I2C_TX_PACKET_SIZE (1)
#define I2C_RX_PACKET_SIZE (2)
struct AS5600_Sensor {
struct MT6701 {
int Mot_num;
float Angle;
float velocity;
@@ -26,9 +26,9 @@ struct AS5600_Sensor {
void Set_Sensor(int Mot);
void MT6701_iic_read_angel(void);
void MT6701_get_angle_degree(void);
float GetAngle(struct AS5600_Sensor *AS5600);
float GetAngle_NoTrack(struct AS5600_Sensor *AS5600);
float GetVelocity(struct AS5600_Sensor *AS5600_Vel);
float GetAngle(struct MT6701 *mt6701);
float GetAngle_NoTrack(struct MT6701 *mt6701);
float GetVelocity(struct MT6701 *mt6701_Vel);
#ifdef __cplusplus
}