interface and drivers

This commit is contained in:
2023-09-27 20:13:23 +02:00
parent 4829b04024
commit 2fbb7b4b91
19 changed files with 1023 additions and 49 deletions

View File

@@ -67,7 +67,7 @@ void MX_GPIO_Init(void)
HAL_GPIO_Init(B1_GPIO_Port, &GPIO_InitStruct);
/*Configure GPIO pins : PAPin PAPin PAPin */
GPIO_InitStruct.Pin = BTN1_Pin|BTN1A1_Pin|BTN_CH1_Pin;
GPIO_InitStruct.Pin = BTN1_Pin|BTN2_Pin|BTN_CH1_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);