Projects › Projects › can not compile lcd code in keil › Regarding warning, you are
March 18, 2013 at 1:51 pm
#9340
Savio
Participant
Regarding warning, you are missing a few function prototypes. Mention all the funtions used in your program before the ‘main()’ funtion. i.e. ” void display_lcd(unsigned char *str);”
Regarding error, this is a code which I usually use,
void display_lcd(unsigned char *str)
{
while(*str!=0)
{
data_lcd(*str);
str++;
}
}
Hope this helps, good Luck.