1
0
forked from Git_test/Git_TEST

突然想要蓝灯,闪烁间隔2000mS

This commit is contained in:
BD7IWD-CMP\bd7iw
2025-09-10 12:35:01 +08:00
parent b7b3ce0e44
commit eedd3484fa
38 changed files with 34 additions and 34 deletions

View File

@@ -2,16 +2,16 @@
#include "Delay.h"
#include "Led_Init.h"
#define Delay_Time 5000
#define Delay_Time 2000
void Run_Led()
{
Led_Init();
while(1)
{
GPIO_SetBits(GPIOB,RED_Led);
GPIO_SetBits(GPIOA,BLU_Led);
Delay_ms(Delay_Time);
GPIO_ResetBits(GPIOB,RED_Led);
GPIO_ResetBits(GPIOA,BLU_Led);
Delay_ms(Delay_Time);
}
}