1
0
forked from Git_test/Git_TEST

初始化项目:红灯闪烁

This commit is contained in:
BD7IWD-CMP\bd7iw
2025-09-10 12:01:07 +08:00
commit 6d170cf95a
446 changed files with 144336 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#include "stm32f10x.h" // Device header
#include "Delay.h"
#include "Led_Init.h"
#define Delay_Time 1000
void Run_Led()
{
Led_Init();
while(1)
{
GPIO_SetBits(GPIOB,RED_Led);
Delay_ms(Delay_Time);
GPIO_ResetBits(GPIOB,RED_Led);
Delay_ms(Delay_Time);
}
}