![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
LIGHT2
Diff: setting.h
- Revision:
- 53:4d66fb1c5dd9
- Parent:
- 52:8ea76864368a
--- a/setting.h Wed Feb 19 05:48:57 2020 +0000 +++ b/setting.h Tue Feb 25 07:39:17 2020 +0000 @@ -115,7 +115,8 @@ extern uint8_t SETTING_SWITCH; extern uint8_t SETTING_SWITCH_OLD; extern uint8_t REFERENCE_MODE; -extern uint16_t CAN_FREQ; +extern int16_t CAN_FREQ; +extern int CAN_FREQUENCY; extern int16_t DIR_JOINT_ENC; extern int16_t DIR_VALVE; extern int16_t DIR_VALVE_ENC; @@ -136,6 +137,8 @@ extern int16_t K_SPRING; extern int16_t D_DAMPER; +extern int16_t flag_delay_test; + //extern float P_GAIN_VALVE_POSITION_OPP; //extern float I_GAIN_VALVE_POSITION_OPP; //extern float D_GAIN_VALVE_POSITION_OPP; @@ -224,6 +227,7 @@ extern unsigned int TMR2_COUNT_LED1; extern unsigned int TMR2_COUNT_LED2; extern unsigned int TMR2_COUNT_CAN_TX; +extern unsigned int TMR3_COUNT_TEST; extern int num_err; extern int flag_err[8]; @@ -417,3 +421,5 @@ + +