Hello community,
I am trying to store my measured data to a sd card. I am using PSoC 5lp. For the storage purposes I checked the emfile example project. It is working, but there they do it this way:
.....
FS_Write(pFile, "0123456789", 10u)
So they write 0123456789 into a file. It is working, but how do I manage to store variables. I want to store measured data and currently I have no idea how to do it.
Thanks in advance for helpful comments.
Alex
Look at 'sprintf' which is like printf, but allows you to store the result in a char buffer.
thanks, now it is working !
Hey ! Can you help me? I m also facing the same problem. How did you solved it? If possible share with me an example code?