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 agoYour theory is right.
How to fix it? I need delay before second string. Should I use another delay function? addition: I also try to use the empty loopfor (i=1 ; i<100000000 ; i++) {}; but it doesn't work too.