internetuser2k12
Banned
Hello!
I got this code which sends string to LCD. I want to know wheather the characters of a string are sent to the LCD one by one or is it sent at once.
i.e., if I have a string "Hello!" is it sent as H e l l o. display one char at a time. or is the whole string pushed at once?
I'm asking this because I want to write my own LCD library in C and ASM.
I got this code which sends string to LCD. I want to know wheather the characters of a string are sent to the LCD one by one or is it sent at once.
i.e., if I have a string "Hello!" is it sent as H e l l o. display one char at a time. or is the whole string pushed at once?
Code:
void lcd_data_str(char str[50]) //Function to send string
{
int p;
for (p=0;str[p]!='\0';p++)
{
lcd_data_str_pin = str[p];
rw = 0;
rs = 1;
en = 1;
delay(1);
en = 0;
}
return;
I'm asking this because I want to write my own LCD library in C and ASM.