使用单片机的串口蓝牙通信写的接收SBUF里的数据,并进行发送执行命令,显示在数码管上,波特率9600
#include <reg52.h>
#include "xs.h"
#include "xs1.h"
#include "delayms.h"
#define uchar unsigned char
#define uint unsigned int
sbit si=P3^4;
sbit s2=P3^6;
sbit s3=P3^5;
uchar code suzu[]={0xc0...
原创
2019-12-24 21:33:02 ·
1442 阅读 ·
1 评论