Problem while writing into SD card
Posted: Tue Feb 07, 2017 12:13 pm
Hi
I am using the SD card driver provide by esp32, it is working with normal files in one wire mode, it is creating file and writing in it,
As part of my application i am trying to store an image in sd card by creating a JPG file and writing appropriate hex values of the image, but by using the "fprintf" function in the driver it is not able to write 0x00 into file
suppose if 0xFF 0xD8 0x00 0xDE is my data till 0xD8 it will write into file, when a 0x00 comes it will assume as an ending char and stop writing.
Please anyone help me to solve this issue.
Thanks
I am using the SD card driver provide by esp32, it is working with normal files in one wire mode, it is creating file and writing in it,
As part of my application i am trying to store an image in sd card by creating a JPG file and writing appropriate hex values of the image, but by using the "fprintf" function in the driver it is not able to write 0x00 into file
suppose if 0xFF 0xD8 0x00 0xDE is my data till 0xD8 it will write into file, when a 0x00 comes it will assume as an ending char and stop writing.
Please anyone help me to solve this issue.
Thanks