SDFileSystem, slightly modified for the ExoController

Dependencies:   SDFileSystem

Dependents:   Data-Management-Honka

Fork of SDFileSystem_HelloWorld by Bradley Perry

Revision:
4:99e9c9e0dfb0
Parent:
3:8f5903a77a13
Child:
9:5bad923e18ce
--- a/SDFile.h	Wed Feb 04 23:58:12 2015 +0000
+++ b/SDFile.h	Sat Feb 14 00:36:44 2015 +0000
@@ -15,9 +15,15 @@
 class SDFile
 {
 public:
-    SDFile(std::string path, std::string filename);
+    SDFile(std::string path, std::string filename, bool readOnly);
     int *read(int length, int *array);
+    int *read_from_start(int length, int *array);
     void write(int length, int *array);
+    void append(int length, int *array);
+ //   void changeAccess(std::string path, std::string filename);
+    void open_for_read(std::string path, std::string filename);
+    void open_for_write(std::string path, std::string filename);
+    void close();
 
 private:
     FILE *_fp;