Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
702 Views

printf to LCD 16207

Hi,  

 

My LCD routine works fine.I used the code from a template file in Eclipse. But i dun quite understand this template file. 

Does anyone know how these 2 lines work??  

 

FILE* fp; 

fp= fopen(LCD_DISPLAY_NAME, "w"); 

 

Am i writing to the internal physical memory of the LCD module?? otherwise where is this file located at? 

 

 

regards, 

Michael
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
31 Views

It's C language essentials. You create a pointer fp, which allocates some space in memory. Then You assign that memory space to LCD. Google "C writing to a file"