Solved
HAL_delay not working?
SOS
I have tried the other forum suggestions but nothing seems to work so far for me. Basically I am just trying to turn an LED on/off with a set delay:
while (1)
{
/* USER CODE END WHILE */
HAL_GPIO_WritePin(LED1_GPIO_Port, LED1_Pin, 0);
HAL_Delay(1000);
HAL_GPIO_WritePin(LED1_GPIO_Port, LED1_Pin, 1);
/* USER CODE BEGIN 3 */
}
It just hangs at HAL_Delay(1000). I am using a STM32L496G-DISCO board.
