forked from Git_test/Git_TEST
验证绿灯闪烁
This commit is contained in:
@@ -9,9 +9,9 @@ void Run_Led()
|
||||
Led_Init();
|
||||
while(1)
|
||||
{
|
||||
GPIO_SetBits(GPIOB,RED_Led);
|
||||
GPIO_SetBits(GPIOA,GRE_Led);
|
||||
Delay_ms(Delay_Time);
|
||||
GPIO_ResetBits(GPIOB,RED_Led);
|
||||
GPIO_ResetBits(GPIOA,GRE_Led);
|
||||
Delay_ms(Delay_Time);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user