This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

#Define in Keil

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

0