Forum Discussion
Altera_Forum
Honored Contributor
14 years agoWouldn't fprintf(fp,"%c",ch); work instead of the IOWR call. The usleep would then not be necessary. Not a good practice to use usleep unless you absolutely need to.
Also, don't forget the # include <stdio.h> line.