correct SYSTICK and RELOAD_CYCLES
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user