网上搜集#include#include"1602.h"#include"uart.c"#include"tc35.c"//#defineRsBuf_N50//charRsBuf[RsBuf_N];//定义串口接收数据缓冲区//ucharRsPoint=0;ucharcodePhoneNO[]="+8615900000000";//改了ucharcodeText[]="IloveSDNU";ucharcodecenter[]="+8613800531500";voidmain(){TC35_init();Uart_init();init_1602();Send_AT();Set_MODE(1);//设置短消息模式Set_CENTER(center);//设置短消息中心AT+CSCA=“+8613800531500”回车TransmitText(PhoneNO,Text);while(1);//lcd_disp_str(RsBuf,2);}
2023/7/22 11:16:40
11KB
51单片机
1