GD32 F103 GD32F103 — 04-Systick精准延时 GD32F103 DRG GD-1 04-Systick精准延时 示例 GD32F103 — 04-Systick精准延时 来源: DRG GD-1 开发板例程 源文件: GD32/drg_gd_1_gd32f103c8t6-master/04-Systick精准延时/test/APP/main.c 子模块 Firmware test 关键代码 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 #include "LED.h" #include "SYSTICK_DELAY.h" int main(){ LED_Init(); my_systick_config(); while(1){ LED_Open(LED1); LED_Close(LED2); my_systick_delay_ms(1000); LED_Open(LED2); LED_Close(LED1); my_systick_delay_ms(1000); } }