void main(){ lcd_init(); write_data(0,1,"A"); while(1);}void lcd_init(void){ write_command(0x38); write_command(0x0c); write_command(0x06); write_command(0x01);}void write_command(uchar command){ RS=0; RW=0; E=1; E=0; Data=command; delay(1);}void write_data(uint x,uint y,uchar da){ uchar ad; if(y==1) { ad=0x80+x; } else ad=0xc0+x; write_command(ad); LCDdate(ad);}void LCDdate(uchar da){ Data=da; RS=1; RW=0; E=1; E=0; delay(1);}void delay(uint n){ uint i; uchar j; for(i=n;i>0;i--) for(j=2;j>0;j--); }
現在 出現的具體什麼問題?