chore: Initial commit (blinky)
This commit is contained in:
15
app/src/main.c
Normal file
15
app/src/main.c
Normal file
@@ -0,0 +1,15 @@
|
||||
#include "main.h"
|
||||
|
||||
#include "stm32f4xx_hal.h"
|
||||
#include "stm32f4xx_hal_gpio.h"
|
||||
|
||||
int my_main()
|
||||
{
|
||||
while (1)
|
||||
{
|
||||
HAL_GPIO_TogglePin(LD2_GPIO_Port, LD2_Pin);
|
||||
HAL_Delay(500);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user