the following type of macro defining causing error , what should i do? plz help.
#define LCD_DATA P2
error: 'LCD_DATA': undefined identifier
You should probably start here: http://www.keil.com/support/man/docs/uv4/uv4_examples.htm
More examples here: http://www.keil.com/download/list/c51.htm
Books to help you here: http://www.keil.com/books/