nesta
Fork of SDFileSystem by
Diff: SDFileSystem.h
- Revision:
- 7:d2502a37ebf9
- Parent:
- 4:3f40cbfe801c
--- a/SDFileSystem.h Fri Sep 09 19:35:14 2016 +0000 +++ b/SDFileSystem.h Sat Sep 09 14:33:28 2017 +0000 @@ -25,7 +25,8 @@ #include "mbed.h" #include "FATFileSystem.h" #include <stdint.h> - +#include <string> +//#include "SDFileSystem.h" /** Access the filesystem on an SD Card using SPI * * @code @@ -58,6 +59,8 @@ virtual int disk_write(const uint8_t* buffer, uint32_t block_number, uint32_t count); virtual int disk_sync(); virtual uint32_t disk_sectors(); + bool writeSD(char *filename,char *payload); + bool readSD(char *filename,char *SDBuffer); protected: