/* STM32F4xx HAL library initialization:
- Configure the Flash prefetch and Buffer caches
- Systick timer is configured by default as source of time base, but user
can eventually implement his proper time base source (a general purpose
timer for example or other time source), keeping in mind that Time base
duration should be kept 1ms since PPP_TIMEOUT_VALUEs are defined and
handled in milliseconds basis.
- Low Level Initialization
*/
HAL_Init();
/* Configure the system clock to 180 MHz */
SystemClock_Config();
/* Add your application code here
*/
Led_Init();
/* Infinite loop */
while (1)
{
HAL_GPIO_WritePin(GPIOG,GPIO_PIN_6,GPIO_PIN_SET);
HAL_GPIO_WritePin(GPIOD,GPIO_PIN_4|GPIO_PIN_5,GPIO_PIN_SET);
HAL_GPIO_WritePin(GPIOK,GPIO_PIN_3,GPIO_PIN_SET);
HAL_Delay(300);
HAL_GPIO_WritePin(GPIOG,GPIO_PIN_6,GPIO_PIN_RESET);
HAL_GPIO_WritePin(GPIOD,GPIO_PIN_4|GPIO_PIN_5,GPIO_PIN_RESET);
HAL_GPIO_WritePin(GPIOK,GPIO_PIN_3,GPIO_PIN_RESET);
HAL_Delay(300);