Hi All... I'm sure this may be a stupid question but I've looked and Looked and cannot seem to find it...
I want to use Local file system to hold configuration information for my program. I understand how to declare (create) and write to a file. I also understand that you cannot simply open a file and change the contents of it... That the file would be overwritten if you want to use the same file name...
In no examples can I see how you read the contents of a file into the mbed?
If I decalred a string variable in the mbed, how would I open the local file and copy it's contents into the string variable?
I was hoping to use the iniparser app (that's really what I want) but I cannot figure out how to make it work...
Thanks in advance...
Tim
Hi All... I'm sure this may be a stupid question but I've looked and Looked and cannot seem to find it...
I want to use Local file system to hold configuration information for my program. I understand how to declare (create) and write to a file. I also understand that you cannot simply open a file and change the contents of it... That the file would be overwritten if you want to use the same file name...
In no examples can I see how you read the contents of a file into the mbed?
If I decalred a string variable in the mbed, how would I open the local file and copy it's contents into the string variable?
I was hoping to use the iniparser app (that's really what I want) but I cannot figure out how to make it work...
Thanks in advance...
Tim