diff --git a/不同颜色LED/APP/Run_Led.c b/不同颜色LED/APP/Run_Led.c index ac05be6..8dfe3a9 100644 --- a/不同颜色LED/APP/Run_Led.c +++ b/不同颜色LED/APP/Run_Led.c @@ -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); } } diff --git a/不同颜色LED/OUTPUT/STM32_Project_DEMO.axf b/不同颜色LED/OUTPUT/STM32_Project_DEMO.axf index f85367a..c3c6d47 100644 Binary files a/不同颜色LED/OUTPUT/STM32_Project_DEMO.axf and b/不同颜色LED/OUTPUT/STM32_Project_DEMO.axf differ diff --git a/不同颜色LED/OUTPUT/STM32_Project_DEMO.build_log.htm b/不同颜色LED/OUTPUT/STM32_Project_DEMO.build_log.htm index 6176784..f0860e8 100644 --- a/不同颜色LED/OUTPUT/STM32_Project_DEMO.build_log.htm +++ b/不同颜色LED/OUTPUT/STM32_Project_DEMO.build_log.htm @@ -29,34 +29,34 @@ Project File Date: 09/10/2025 Rebuild target 'Target 1' assembling startup_stm32f10x_md.s... compiling core_cm3.c... -compiling misc.c... -compiling stm32f10x_dac.c... -compiling stm32f10x_dbgmcu.c... -compiling system_stm32f10x.c... -compiling stm32f10x_flash.c... -compiling stm32f10x_cec.c... compiling stm32f10x_it.c... -compiling stm32f10x_dma.c... -compiling stm32f10x_bkp.c... -compiling stm32f10x_exti.c... -compiling stm32f10x_crc.c... -compiling stm32f10x_adc.c... +compiling stm32f10x_dbgmcu.c... compiling stm32f10x_can.c... -compiling stm32f10x_gpio.c... +compiling stm32f10x_cec.c... +compiling stm32f10x_crc.c... +compiling misc.c... +compiling stm32f10x_bkp.c... +compiling stm32f10x_dma.c... +compiling stm32f10x_exti.c... +compiling system_stm32f10x.c... +compiling stm32f10x_dac.c... +compiling stm32f10x_flash.c... +compiling stm32f10x_adc.c... compiling stm32f10x_fsmc.c... -compiling stm32f10x_iwdg.c... +compiling stm32f10x_gpio.c... compiling stm32f10x_i2c.c... +compiling stm32f10x_iwdg.c... compiling stm32f10x_pwr.c... -compiling stm32f10x_rtc.c... compiling stm32f10x_rcc.c... +compiling stm32f10x_rtc.c... compiling stm32f10x_sdio.c... compiling stm32f10x_spi.c... -compiling stm32f10x_usart.c... compiling stm32f10x_wwdg.c... -compiling Led_Init.c... -compiling main.c... +compiling stm32f10x_usart.c... compiling Delay.c... compiling Run_Led.c... +compiling main.c... +compiling Led_Init.c... compiling stm32f10x_tim.c... linking... Program Size: Code=976 RO-data=252 RW-data=0 ZI-data=1632 @@ -74,7 +74,7 @@ Package Vendor: Keil D:/soft/Keil_v5/Packs/Keil/STM32F1xx_DFP/2.4.1/Device/Include