GD32 F103 GD32F103 — 10-GD32串口发送 GD32F103 DRG GD-1 10-GD32串口发送 示例 GD32F103 — 10-GD32串口发送 来源: DRG GD-1 开发板例程 源文件: GD32/drg_gd_1_gd32f103c8t6-master/10-GD32串口发送/test/APP/main.c 子模块 Firmware test 关键代码 1 2 3 4 5 6 7 8 9 10 11 12 #include "systick.h" #include "usart_comm.h" int main(){ systick_config(); usart0_init(9600); while(1){ usart0_send_string((uint8_t *)"hello, this is usart0.\n"); //Զַ'\0' delay_1ms(1000); //ȴ1s } }