Forum Discussion
Altera_Forum
Honored Contributor
14 years agousleep() issue
Hello. In this code: fprintf(lcd_name, string1);
usleep(2000000);
fprintf(lcd_name, string2); second string should appear on LCD after 2 sec. But it appears without any delays! It's interes...
Altera_Forum
Honored Contributor
14 years agoI don't use OS on the Nios.
I wrote my own LCD vhdl driver so I rule LCD using UART (altera_avalon_uart). 'fprintf' transfers string with usual serial protocol. I'll try to debug, thanks.