This commit is contained in:
2023-11-08 20:06:03 +01:00
parent a7ccf2ce66
commit 53e8d774c8
7 changed files with 61 additions and 60 deletions

View File

@@ -54,7 +54,7 @@ void MX_GPIO_Init(void)
/*Configure GPIO pin : PC13 */
GPIO_InitStruct.Pin = GPIO_PIN_13;
GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING;
GPIO_InitStruct.Mode = GPIO_MODE_IT_FALLING;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);