void lcd_cmd(unsigned char x)
{
RW=0;
RS=0;
DATA&=0X0f;
EN=1;
DATA|=x&0Xf0;
EN=0;
Delay1KTCYx(10);
DATA&=0X0f;
EN=1;
DATA|x<<4)&0xf0);
EN=0;
Delay1KTCYx(10);
}
void lcd_data(unsigned char...