高分求51单片机串口通信的程序
高分求51单片机串口通信的程序
日期:2017-07-16 16:57:24 人气:1
#include
#include
#define uchar unsigned char
#define uint unsigned int
sbit LCD_RS = P2^0;
sbit LCD_RW = P2^1;
sbit LCD_EN = P2^2;
#define delayNOP(); {_nop_();_nop_();_nop_();_nop_();};
uchar data RXDdata[ ] = {0x20,0x20,0x2