#include"sys.h"#include"delay.h"#include"usart.h"#include"HX711.h"intmain(void){Init_HX711pin();delay_init();//延时函数初始化NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2);//设置NVIC中断分组2:2位抢占优先级,2位响应优先级uart_init(9600);//串口初始化为9600Get_Maopi();//称毛皮重量delay