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 agoMaybe the output buffer of fprintf is not flushed until after the second call. Could maybe try to fflush(lcd_name); after the first fprintf.