HD44780读数据和地址的疑问,牛人指教!
typedef unsigned char byte;sbit RS = P2^6;sbit RW = P2^5;sbit E = P2^4;#define DATA P0...byte ReadAdress(){ byte byAddr; RS = L; RW = H; _nop_(); E = H; _nop_(); byAddr = DATA; byAddr = DATA; _nop_(); RW = L; _nop_(); RS = H; _nop_(); E = L; _nop_(); E = H; return byAddr; }