Hi Ben
i did some tests.
Creating a file works well.
appendINTArray not ok. strange data saved
append string not ok. strange text saved
As an example I wrote the string "1234567890".
The result is 10 strange characters in the file.
regards
Stefan
Append string
bad test result on file
bad test result second time (with lower speed.)
ESP32, sd-card, file append is not correct
-
- Valued Contributor
- Posts: 760
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 150 times
- Been thanked: 171 times
-
- Valued Contributor
- Posts: 760
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 150 times
- Been thanked: 171 times
Re: ESP32, sd-card, file append is not correct
Hi Ben
Today I have tested again.
I have written a new program, just to test the file function
append string works
append array is not working correct.
it looks like one byte of the two bytes from an integer is not written correctly to disc.
regards
Stefan
append string is ok Testprogram
Today I have tested again.
I have written a new program, just to test the file function
append string works
append array is not working correct.
it looks like one byte of the two bytes from an integer is not written correctly to disc.
regards
Stefan
append string is ok Testprogram