Great Scott! good news! works completely!!!
I have attached the project...
now I've only one little and stupid question: how can I perform the "append" during logger?
Code: Select all
chsprintf(&string[0],"Hello world! \r\n");
rc = f_open(&Fil, "HELLO.TXT", FA_WRITE | FA_CREATE_ALWAYS);
rc = f_write(&Fil, &string[0] , strlen(&string[0]), &bw);
rc = f_close(&Fil);
I think to use f_lseek() but I don't understand how...
Thank you all!