SDFileSystem, slightly modified for the ExoController
Dependents: Data-Management-Honka
Fork of SDFileSystem_HelloWorld by
Diff: SDFile.h
- Revision:
- 2:ec4d7e5fa68e
- Child:
- 3:8f5903a77a13
diff -r 5acf78b01da3 -r ec4d7e5fa68e SDFile.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SDFile.h Wed Dec 17 21:43:42 2014 +0000 @@ -0,0 +1,16 @@ +#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); + +private: + FILE *fp; +}; +#endif \ No newline at end of file