Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of SDFileSystem by
SDSaveFunction.h@25:62b71695d0da, 2016-03-31 (annotated)
- Committer:
- DanielBlomdahl
- Date:
- Thu Mar 31 17:29:44 2016 +0000
- Revision:
- 25:62b71695d0da
- Parent:
- 24:ee4f7224a2a5
- Child:
- 26:e5fedb635c69
Success! time, random voltage, and correct temperature (of only one thermocouple) was correctly printed in Terminal and saved to the SD card. I still will have to add the second thermocouple and figure out the weird time output.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
DanielBlomdahl | 23:ab7d8030ac94 | 1 | // Header file to give functions for the SD card save function |
DanielBlomdahl | 23:ab7d8030ac94 | 2 | |
DanielBlomdahl | 25:62b71695d0da | 3 | #ifndef SDSAVEFUNCTION_H |
DanielBlomdahl | 25:62b71695d0da | 4 | #define SDSAVEFUNCTION_H |
DanielBlomdahl | 25:62b71695d0da | 5 | |
DanielBlomdahl | 23:ab7d8030ac94 | 6 | #include "mbed.h" |
DanielBlomdahl | 23:ab7d8030ac94 | 7 | |
DanielBlomdahl | 23:ab7d8030ac94 | 8 | |
DanielBlomdahl | 25:62b71695d0da | 9 | int mountSDCard(void); |
DanielBlomdahl | 23:ab7d8030ac94 | 10 | |
DanielBlomdahl | 25:62b71695d0da | 11 | int openDataFile(void); |
DanielBlomdahl | 23:ab7d8030ac94 | 12 | |
DanielBlomdahl | 25:62b71695d0da | 13 | int closeDataFile(void); |
DanielBlomdahl | 23:ab7d8030ac94 | 14 | |
DanielBlomdahl | 25:62b71695d0da | 15 | void writeData(float, float, float); |
DanielBlomdahl | 25:62b71695d0da | 16 | |
DanielBlomdahl | 25:62b71695d0da | 17 | #endif |