LPU,NH-1 GT road, Jalandhar rohit.hero12@gmail.com +91-8437503569 https://www.facebook.com/rohit.adhikary3

P-Programming T-Technology A-And TI-Tips C-Cracking

Thursday, 23 April 2015

Displaying text

Hello Reader,
Here is the another program that is related to the LCD this is the basic program.
i)making string point variable.
ii)passing the starting address of string to that pointer variable.
iii)passing string pointer value to LCD_write function.
void LCD_write_string(unsingned char *str) //store address value of string
in pointer*str
  int i=0;
while(str[i]!='\0')    //loop will go on till the NULL charater in the string
LCD_write(str[i]);   //sending data on LCD byte


Post a Comment

Popular Posts

Recent Posts

Unordered List

Text Widget

Powered by Blogger.