![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Stripped-down version of GDP Node Core
Dependencies: EthernetInterface MbedJSONValue SDFileSystem mbed-rtos mbed snail
Diff: sdcard.h
- Revision:
- 0:bb17d0395fb8
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sdcard.h Mon May 18 16:16:15 2015 +0000 @@ -0,0 +1,11 @@ +#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: + SDFileSystem sd; +}; \ No newline at end of file