sd card read-write
Posted: Wed Jun 24, 2020 10:34 am
Hello all,
I have a question i try for days now to accomplish one basic (in my opinion task)
So i am developing a system in which i receive a string of info and then parse them convert them and so on....
so i try to store a string "23/12/22 12:34 CBS1 AL _" to txt and "23/12/22 12:34 CBS1 AL " to csv when i choose on the same time.
the goal here is to be able to write into files and to be able to read back only from the txt when i push a button and csv only from pc...
I am very unsuccesfull.....the data always gets corrupted and sometimes after writing 4-5 strings...
any help or example to write in to 2 files and retrieve from one reliably would be most welcome
I have a question i try for days now to accomplish one basic (in my opinion task)
So i am developing a system in which i receive a string of info and then parse them convert them and so on....
so i try to store a string "23/12/22 12:34 CBS1 AL _" to txt and "23/12/22 12:34 CBS1 AL " to csv when i choose on the same time.
the goal here is to be able to write into files and to be able to read back only from the txt when i push a button and csv only from pc...
I am very unsuccesfull.....the data always gets corrupted and sometimes after writing 4-5 strings...
any help or example to write in to 2 files and retrieve from one reliably would be most welcome