SDFileSystem, slightly modified for the ExoController
Dependents: Data-Management-Honka
Fork of SDFileSystem_HelloWorld by
Diff: SDFile.h
- Revision:
- 3:8f5903a77a13
- Parent:
- 2:ec4d7e5fa68e
- Child:
- 4:99e9c9e0dfb0
diff -r ec4d7e5fa68e -r 8f5903a77a13 SDFile.h --- a/SDFile.h Wed Dec 17 21:43:42 2014 +0000 +++ b/SDFile.h Wed Feb 04 23:58:12 2015 +0000 @@ -1,16 +1,25 @@ +/** +* @file SDFile.h +* @brief This header file contains read/write functions for the SDFile object +* @author Michael Ling +* @date 2/2/2015 +*/ + +#include <string> + #include "mbed.h" #include "SDFileSystem.h" -#include <string> + #ifndef SDFILE_H #define SDFILE_H class SDFile { public: SDFile(std::string path, std::string filename); - int *read(int *array, int length); - void write(int *array, int length); + int *read(int length, int *array); + void write(int length, int *array); private: - FILE *fp; + FILE *_fp; }; -#endif \ No newline at end of file +#endif