2912| 5
|
单片机hc-05蓝牙串口通信程序问题 |
20黑币
最佳答案#include //?????????д????????????
//#include
#define uint unsigned int //???壬?????涨???????д???
#define uchar unsigned char
sbit LED0=P1^0;
sbit LED1=P1^1;
sbit LED2=P1^2;
sbit LED3=P1^3;
sbit LED4=P1^4;
sbit LED5=P1^5;
sbit LED6=P1^6;
sbit LED7=P1^7;
void main (void)
{
SCON = 0x50; // SCON: ??1, 8-bit UART, ??????
TMOD |= 0x20;
TH1=0xfd; //??????9600 ???
TL1=0xfd; ...
| ||
| ||
| ||
| ||
| ||