#include"include.h"uint8_t aaa[50]={1,1,1,1,1,1,1,1,1,1};
uint8_t bbb[50]={3,3,3,3,3,3,3,3,3,3};intmain(void)
{
NVIC_Configuration();
Led_Gpio_Init();
Timer2_Config();
uart_init(115200);//串口初始化为115200rbCreate(&pRb,SendBuff,USART_REC_LEN);//创建环形队列while(1)
{
PutData(aaa,10);//发送数据PutData(bbb,10);//发送数据delay_ms(10);
}
} |