GD32F103 — 11-GD32中断接收并解析hex数据帧

GD32F103 DRG GD-1 11-GD32中断接收并解析hex数据帧 示例

GD32F103 — 11-GD32中断接收并解析hex数据帧

来源: DRG GD-1 开发板例程
源文件: GD32/drg_gd_1_gd32f103c8t6-master/11-GD32中断接收并解析hex数据帧/test/APP/main.c

子模块

  • Firmware
  • test

关键代码

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
#include "systick.h"
#include "usart_comm.h"
#include "led_ctrl.h"
#include "relay_ctrl.h"

int main(){
	systick_config();
	usart0_init(9600);
	led_init();
	relay_init();
	
	while(1){
	}
}
世界是你们
使用 Hugo 构建
主题 StackJimmy 设计