GDP group 24 node core
Dependencies: EthernetInterface SDFileSystem mbed-rtos mbed snail MbedJSONValue
sdcard.h@31:9cf3f1e5ad68, 2015-01-28 (annotated)
- Committer:
- Trumple
- Date:
- Wed Jan 28 21:19:52 2015 +0000
- Revision:
- 31:9cf3f1e5ad68
- Parent:
- 19:70c911d35e67
Marge master branch
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 | }; |