GDP group 24 node core

Dependencies:   EthernetInterface SDFileSystem mbed-rtos mbed snail MbedJSONValue

Committer:
Trumple
Date:
Tue Nov 11 17:33:41 2014 +0000
Revision:
0:fcab3b154e49
Child:
19:70c911d35e67
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Trumple 0:fcab3b154e49 1 #include "SDFileSystem.h"
Trumple 0:fcab3b154e49 2 #include "sensorinterface.h"
Trumple 0:fcab3b154e49 3
Trumple 0:fcab3b154e49 4 class sdcard
Trumple 0:fcab3b154e49 5 {
Trumple 0:fcab3b154e49 6 public:
Trumple 0:fcab3b154e49 7 sdcard(); // MOSI, MISO, CKL, CS -> PINS 2, 7, 5, 1, ON SD CARD WITH 4=VCC, 6=GND, 8,9=NC
Trumple 0:fcab3b154e49 8 int write(long int time_holder, d_reply data);
Trumple 0:fcab3b154e49 9 private:
Trumple 0:fcab3b154e49 10 map<char,string> typeLookup;
Trumple 0:fcab3b154e49 11 SDFileSystem sd;
Trumple 0:fcab3b154e49 12 };