Stripped-down version of GDP Node Core
Dependencies: EthernetInterface MbedJSONValue SDFileSystem mbed-rtos mbed snail
sdcard.h
- Committer:
- Trumple
- Date:
- 2015-05-18
- Revision:
- 0:bb17d0395fb8
File content as of revision 0:bb17d0395fb8:
#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; };