foc/src/App/main.c

37 lines
652 B
C
Raw Normal View History

2023-08-23 01:43:35 +00:00
/**
* @file main.c
* @author jimingqing
* @date 2023-08-14
* @version 0.0.1
* @copyright XiazhiTech Copyright (c) 2023
*
* @brief
*/
/* Includes ------------------------------------------------------------------*/
#include "main.h"
2023-08-23 15:32:48 +00:00
hall_handle_t hall_handle;
2023-08-23 01:43:35 +00:00
/* Function ------------------------------------------------------------------*/
/**
* @brief The application entry point.
* @retval int
*/
int main(void)
{
board_init();
while (1)
{
led_ctrl(1);
HAL_Delay(500);
led_ctrl(0);
HAL_Delay(500);
}
}
/* END OF FILE ---------------------------------------------------------------*/