这个
void SendOneByte(unsigned char c)
{
SBUF = c;
while(!TI);
TI = 0;
}
改为这样
void SendOneByte(unsigned char c)
{
while(!TI);
TI = 0;
SBUF = c;
}
这个
void SendOneByte(unsigned char c)
{
SBUF = c;
while(!TI);
TI = 0;
}
改为这样
void SendOneByte(unsigned char c)
{
while(!TI);
TI = 0;
SBUF = c;
}
举报