Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

printf to LCD 16207

Altera_Forum
Honored Contributor II
770 Views

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 II
99 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"

Reply