|
@@ -73,8 +73,8 @@ typedef enum {
|
|
|
|
|
|
/* Exported macro ------------------------------------------------------------*/
|
|
|
/* USER CODE BEGIN EM */
|
|
|
-#define LATCH_DOWN GPIOB->BRR = 0x10
|
|
|
-#define LATCH_UP GPIOB->BSRR = 0x10
|
|
|
+#define LATCH_DOWN GPIOA->BRR = 0x8000
|
|
|
+#define LATCH_UP GPIOA->BSRR = 0x8000
|
|
|
|
|
|
#define TUBE_PWR_ON GPIOA->BRR = 0x10
|
|
|
#define TUBE_PWR_OFF GPIOA->BSRR = 0x10
|
|
@@ -127,8 +127,8 @@ void SPI1_Tx_Callback(void);
|
|
|
#define BTN3_GPIO_Port GPIOA
|
|
|
#define BTN4_Pin LL_GPIO_PIN_11
|
|
|
#define BTN4_GPIO_Port GPIOA
|
|
|
-#define Latch_Pin LL_GPIO_PIN_4
|
|
|
-#define Latch_GPIO_Port GPIOB
|
|
|
+#define Latch_Pin LL_GPIO_PIN_15
|
|
|
+#define Latch_GPIO_Port GPIOA
|
|
|
#define IRQ_Pin LL_GPIO_PIN_8
|
|
|
#define IRQ_GPIO_Port GPIOB
|
|
|
#define IRQ_EXTI_IRQn EXTI4_15_IRQn
|