调试
This commit is contained in:
@@ -9,8 +9,15 @@
|
||||
|
||||
|
||||
#define OSC_CNT 40
|
||||
#define SLOPE_CNT 30
|
||||
#define SLOPE_CNT 20
|
||||
|
||||
#define STOP_TIME_MS 500
|
||||
#define RUN_TIME_MS 10
|
||||
|
||||
#define BDC_STOP() Motor_Control(MOTOR_CMD_STOP)
|
||||
#define BDC_UP() Motor_Control(MOTOR_CMD_FORWARD)
|
||||
#define BDC_DOWN() Motor_Control(MOTOR_CMD_REVERSE)
|
||||
|
||||
typedef struct{
|
||||
int32_t Slope_VPT;
|
||||
|
||||
@@ -66,6 +73,7 @@ typedef struct {
|
||||
uint32_t Read1mSDelayCnt;
|
||||
uint32_t Uart1Delay1mSCnt;
|
||||
uint32_t StopCollDelay1mSCnt;
|
||||
uint32_t RunCollDelay1mSCnt;
|
||||
uint32_t EvenRunDelay1mSCnt;
|
||||
uint8_t FeedDogDlyCnt;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user