Anonymous
Not applicable
Jan 21, 2016
02:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 21, 2016
02:34 AM
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
Labels
- Labels:
-
PSoC 5LP
3 Replies
Jan 21, 2016
12:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 21, 2016
12:44 PM
Look at 'sprintf' which is like printf, but allows you to store the result in a char buffer.
Anonymous
Not applicable
Jan 22, 2016
12:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 22, 2016
12:27 AM
thanks, now it is working !
Apr 24, 2017
09:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 24, 2017
09:45 PM
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?