Hi everyone,
I am trying to write a code for TM4C123GH6PM to read a text file line by line stored in same workspace as that of .ccs project and send it to one of the GPIO pin and also I want it to generate a .txt file for the serial data that it receives through another GPIO pin but even this simple piece of code is not working.
outFile = fopen("C:/Users/Raunak/workspace_v6_1/temp/out.txt","w+");
fputs("This is a system progrqamming language.", outFile);
fclose ( outFile );
Although it generates out.txt file there but the file is blank.
Please suggest me what to do next.