diff --git a/Inc/main.h b/Inc/main.h index fd6b11d..4b6b464 100644 --- a/Inc/main.h +++ b/Inc/main.h @@ -86,10 +86,17 @@ void Error_Handler(void); #define BUSY_GPIO_Port GPIOA #define SPI_CS_Pin GPIO_PIN_4 #define SPI_CS_GPIO_Port GPIOA +#define ButtonLeft_Pin GPIO_PIN_12 +#define ButtonLeft_GPIO_Port GPIOB +#define ButtonPress_Pin GPIO_PIN_13 +#define ButtonPress_GPIO_Port GPIOB +#define ButtonRight_Pin GPIO_PIN_14 +#define ButtonRight_GPIO_Port GPIOB #define LED_Pin GPIO_PIN_8 #define LED_GPIO_Port GPIOB /* USER CODE BEGIN Private defines */ - +#define MAX_SSET_POS 28 +#define MAX_SELECTOR_POS 31 /* USER CODE END Private defines */ #ifdef __cplusplus