Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHow to "printf" to my 16207 Optrex lcd controller ?
Hi there, I've spent lots of time on this, but S.O.L.. cant solve this one. I am trying to output a string of texts (sometimes with integer variable) to my LCD controller using printf() (o...
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- In Nios II software build tools (Eclipse), make a new program from example. I am sure there is LCD routine in Web Server example since it shows IP address in the LCD, but You can check board diagnostics or other examples containing LCD control source. --- Quote End --- Hi, My LCD routine works now. As you said, i used the code from a template file. But i dun quite understand the template file. Do you know how this line works?? 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