忘记push了,添加了RC522驱动
This commit is contained in:
@@ -58,12 +58,22 @@ void Error_Handler(void);
|
||||
/* USER CODE END EFP */
|
||||
|
||||
/* Private defines -----------------------------------------------------------*/
|
||||
#define KEY3_Pin GPIO_PIN_2
|
||||
#define KEY3_GPIO_Port GPIOE
|
||||
#define KEY2_Pin GPIO_PIN_3
|
||||
#define KEY2_GPIO_Port GPIOE
|
||||
#define KEY1_Pin GPIO_PIN_4
|
||||
#define KEY1_GPIO_Port GPIOE
|
||||
#define TDOUT_Pin GPIO_PIN_8
|
||||
#define TDOUT_GPIO_Port GPIOF
|
||||
#define TDIN_Pin GPIO_PIN_9
|
||||
#define TDIN_GPIO_Port GPIOF
|
||||
#define TPEN_Pin GPIO_PIN_10
|
||||
#define TPEN_GPIO_Port GPIOF
|
||||
#define KEY0_Pin GPIO_PIN_0
|
||||
#define KEY0_GPIO_Port GPIOA
|
||||
#define RC522_CS_Pin GPIO_PIN_4
|
||||
#define RC522_CS_GPIO_Port GPIOA
|
||||
#define LCD_BL_Pin GPIO_PIN_0
|
||||
#define LCD_BL_GPIO_Port GPIOB
|
||||
#define TCLK_Pin GPIO_PIN_1
|
||||
|
||||
Reference in New Issue
Block a user