main.h : button pin definition and max selector pos

This commit is contained in:
Charlez Kwan 2020-01-21 15:25:21 +01:00
parent 8493063f5a
commit 284a503ded

View file

@ -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