> Where are you writing the log file?

i write at /mnt/flash/

> and how do you write it?

#define WriteFile "log.txt"

double number;
number = 187;

FILE *fd;
fd=fopen(WriteFile ,"w");
fprintf(fd,"%g \n",number);    
fclose(fd);

> You need to check if the filesystem for the partition where are 
you writing is already mounted.

how ?

many thanks

Reply via email to