GDP group 24 node core

Dependencies:   EthernetInterface SDFileSystem mbed-rtos mbed snail MbedJSONValue

sdcard.h

Committer:
Trumple
Date:
2015-01-28
Revision:
31:9cf3f1e5ad68
Parent:
19:70c911d35e67

File content as of revision 31:9cf3f1e5ad68:

#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;
};