Anonymous
Not applicable
Apr 10, 2014
01:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 10, 2014
01:33 PM
I found an SD card component to go with PSoC 4 here : http://www.element14.com/community/docs/DOC-63798/l/project-50--sd-card-example-psoc-4-pioneer-kit-c...
According to the example given, there is an option to seek (set an offset) and read a character. But is there a command to seek and modify ?? uchar SDCard_fputc(uchar Data, uchar Fptr), i think appends a character. Tell me a function(s) to do something as specific as this : open a file, change the 14th character to 'A' . Thanks a lot.
2 Replies
Apr 10, 2014
03:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 10, 2014
03:59 PM
fputc is actually what you are looking for. If you seek (==set the position pointer to a specific place) fputc will write to that place. It will not insert the character.
Anonymous
Not applicable
Apr 11, 2014
01:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 11, 2014
01:34 AM
Thanks a lot! This is exactly what I was looking for