The program will open a file called test.txt in the root of the SD card, and will create one if it does not exist. It will then write "one two three four five" in the .txt file. It will then read the text and output the result. You will need a terminal application (I recommend PuTTy) in order to see the outputs. The current program overwrites anything that was previous on the SD card. To prevent this, change the "w" to "a" during the writing process. This changes the instruction from a 'write' to an 'append'.
Dependencies: SDFileSystem mbed
Fork of SDFileSystem_HelloWorld by
History
Reading and Writing to SD Card; ; Description:; ; A small project made with mbed (mbed.org) on the FRDM-KL64 using the SD card capabilities.; The program will open a file called test.txt in the root of the SD card, and will create one if it does not exi
2014-07-24, by bentrevett [Thu, 24 Jul 2014 12:55:11 +0000] rev 1
Reading and Writing to SD Card; ; Description:; ; A small project made with mbed (mbed.org) on the FRDM-KL64 using the SD card capabilities.; The program will open a file called test.txt in the root of the SD card, and will create one if it does not exi
First commit of SDFileSystem Hello World
2012-12-07, by mbed_official [Fri, 07 Dec 2012 11:25:01 +0000] rev 0
First commit of SDFileSystem Hello World