sd

Dependencies:   FATFileSystem

Dependents:   finalV1 finalV1 finalv2 finalv3 ... more

Revision:
3:7b35d1709458
Parent:
1:7153ee70df01
diff -r c8f66dc765d4 -r 7b35d1709458 SDFileSystem.h
--- a/SDFileSystem.h	Thu Nov 29 10:56:21 2012 +0000
+++ b/SDFileSystem.h	Mon Mar 17 14:34:01 2014 +0000
@@ -32,13 +32,14 @@
  * #include "mbed.h"
  * #include "SDFileSystem.h"
  *
- * SDFileSystem sd(p5, p6, p7, p12, "sd"); // mosi, miso, sclk, cs
+ * SDFileSystem sd(p5, p6, p7, p12, "sd"); // MOSI, MISO, SCLK, SSEL
  *  
  * int main() {
- *     FILE *fp = fopen("/sd/myfile.txt", "w");
+ *     FILE *fp = fopen("/sd/mbed.txt", "w");
  *     fprintf(fp, "Hello World!\n");
  *     fclose(fp);
  * }
+ * @endcode
  */
 class SDFileSystem : public FATFileSystem {
 public:
@@ -52,6 +53,7 @@
      * @param name The name used to access the virtual filesystem
      */
     SDFileSystem(PinName mosi, PinName miso, PinName sclk, PinName cs, const char* name);
+    
     virtual int disk_initialize();
     virtual int disk_status();
     virtual int disk_read(uint8_t * buffer, uint64_t block_number);