generated from Template/H563ZI-HAL-CMake-Template
add Encoder and PID control and Abstacle control
This commit is contained in:
@@ -59,6 +59,8 @@ void Error_Handler(void);
|
||||
/* Private defines -----------------------------------------------------------*/
|
||||
#define PWMA_Pin GPIO_PIN_2
|
||||
#define PWMA_GPIO_Port GPIOC
|
||||
#define HC_Echo_Pin GPIO_PIN_0
|
||||
#define HC_Echo_GPIO_Port GPIOA
|
||||
#define PWMB_Pin GPIO_PIN_1
|
||||
#define PWMB_GPIO_Port GPIOB
|
||||
#define AIN1_Pin GPIO_PIN_0
|
||||
@@ -77,8 +79,6 @@ void Error_Handler(void);
|
||||
#define E2A_GPIO_Port GPIOC
|
||||
#define E2B_Pin GPIO_PIN_7
|
||||
#define E2B_GPIO_Port GPIOC
|
||||
#define HC_Echo_Pin GPIO_PIN_8
|
||||
#define HC_Echo_GPIO_Port GPIOC
|
||||
#define HC_Trig_Pin GPIO_PIN_9
|
||||
#define HC_Trig_GPIO_Port GPIOC
|
||||
#define Shake_Motor_Pin GPIO_PIN_12
|
||||
|
||||
Reference in New Issue
Block a user