Without using SD card how to access the .txt or csv file?
Hello,
I am working on Nucleo-H745ziq board. I have to read the .txt and .csv file, but on this board there is no SD card implementation, so how I read the .txt file. I tried to read the file using below programmed but unable to read please help me.
num;
FILE *fptr;
if ((fptr = fopen("C:\\program.txt","r")) == NULL){
printf("Error! opening file");
// Program exits if the file pointer returns NULL.
exit(1);
}
fscanf(fptr,"%d", &num);
printf("Value of n=%d", num);
fclose(fptr);
