Altera_Forum
Honored Contributor
19 years agoLCD on NIOSII
I have built my NIOS II system on DE2 board having DRAM, JTAG UART and 16207 LCD. This is my code in NIOS II IDE:
---------------------------------------------# include <stdio.h># include "system.h" int main() { FILE *fp=0; fp = fopen( "/dev/lcd_16207_0", "w"); if (fp==0) printf("lcd not ready...\n"); else { printf("lcd ready...\n"); fprintf(fp, "hello lcd...\n"); } fclose(fp); return 0; } ---------------------------------------------- everything seems ok, but I dont know why LCD does not work. PLEASE HELP ME... Thanks alot Lili