Hi Collegues, I am new in uVision and I am trying to configure an LCD in 4-bit mode by this tool. I got an error when I wrote this: #define LCD_Data P0 . . . Then I wrote LCD_Data=0x28; the system says LCD_Data isnot defined How can I rename P0 to LCD_Data?. Thanks OO
Before re-inventing the wheel, take a look at these: http://www.keil.com/forum/docs/thread7357.asp Regarding Port names, look up the facilities for SFR access provided by C51 - see the Manual: http://www.keil.com/support/man/docs/c51/c51_le_sfrs.htm