GDP group 24 node core
Dependencies: EthernetInterface SDFileSystem mbed-rtos mbed snail MbedJSONValue
sdcard.h@19:70c911d35e67, 2015-01-13 (annotated)
- Committer:
- jakehodges
- Date:
- Tue Jan 13 23:40:29 2015 +0000
- Revision:
- 19:70c911d35e67
- Parent:
- 0:fcab3b154e49
Change SD card directory structure to use type codes rather than hard-coded strings
Who changed what in which revision?
User | Revision | Line number | New 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 | SDFileSystem sd; |
Trumple | 0:fcab3b154e49 | 11 | }; |