94d33m
Junior Member level 2
Code:
lcd_string("welcome");
void lcd_string(unsigned char *p)
{
while(*p!=0)
{
lcd_char(*p++);
}
}
void lcd_char(unsigned char cha)
{
lcd_data_port=cha;
rs=1;
rw=0;
en=1;
delay(10);
en=0;
}
How does the function lcd_string work?