The program is shown in figure:




Use a serial port output information:

USB simulation open U disk TF card is only an empty file:


CodePudding user response:
Finished f_write f_close first, and then f_open to read, or the first f_open open at a time in the form of reading and writingCodePudding user response:
After f_write didn't shut down, the cache of stream in the f_open was clear off, so read an empty file,CodePudding user response:
Upstairs positive solution, superior
CodePudding user response:
Hello, successful output may have a look?Use f_write write on my side, every time to write several Spaces, and then if is added \ r \ n, every time more than empty a line, what is this excuse me?