forked from Git_test/Git_TEST
18 lines
284 B
C
18 lines
284 B
C
#include "stm32f10x.h" // Device header
|
|
#include "Delay.h"
|
|
#include "Led_Init.h"
|
|
|
|
#define Delay_Time 500
|
|
|
|
void Run_Led()
|
|
{
|
|
Led_Init();
|
|
while(1)
|
|
{
|
|
GPIO_SetBits(GPIOA,GRE_Led);
|
|
Delay_ms(Delay_Time);
|
|
GPIO_ResetBits(GPIOA,GRE_Led);
|
|
Delay_ms(Delay_Time);
|
|
}
|
|
}
|