Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- I added the RS232 on system using SOPC. How to open RS232 Port on eclipse? If I use jtaguart as stdin and stdout the code works but if I use RS232 don't work.... Thanks in advance for help --- Quote End --- write down below code in your main file. FILE *fp; fp = fopen("----copy past path of your RS232 file from system .h-----","rb"); if(fp==NULL) printf("\nFile /RS232 not open for writing...."); else fprintf(fp,"%d",---data (int)which you want to write on RS232---); fclose(fp);