![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
GDP group 24 node core
Dependencies: EthernetInterface SDFileSystem mbed-rtos mbed snail MbedJSONValue
Diff: sdcard.h
- Revision:
- 0:fcab3b154e49
- Child:
- 19:70c911d35e67
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sdcard.h Tue Nov 11 17:33:41 2014 +0000 @@ -0,0 +1,12 @@ +#include "SDFileSystem.h" +#include "sensorinterface.h" + +class sdcard +{ + public: + sdcard(); // MOSI, MISO, CKL, CS -> PINS 2, 7, 5, 1, ON SD CARD WITH 4=VCC, 6=GND, 8,9=NC + int write(long int time_holder, d_reply data); + private: + map<char,string> typeLookup; + SDFileSystem sd; +}; \ No newline at end of file