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.
Dependents: ELEC350_Project2 SDcard
Revision 5:0d49326968ca, committed 2018-11-10
- Comitter:
- Swabey89
- Date:
- Sat Nov 10 19:31:17 2018 +0000
- Parent:
- 4:dc767b5f917b
- Child:
- 6:5646450f583b
- Commit message:
- Operating, but serial terminal needs reworking to avoid queue being full
Changed in this revision
| SDCard.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SDCard.cpp Sat Nov 10 16:28:49 2018 +0000
+++ b/SDCard.cpp Sat Nov 10 19:31:17 2018 +0000
@@ -77,10 +77,10 @@
void SDaddSample(double temp, double pressure)
{
//Add the sampled data to the SD card
+ yellowLED = !yellowLED;
fp = fopen("/sd/q.csv","a");
fprintf(fp, "%6.1f,%.2f\n\r", temp, pressure);
fclose(fp);
- puts("SAMPLE ADDED TO SD CARD");
}
void SDalive(void)
