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 6:5646450f583b, committed 2018-11-18
- Comitter:
- Swabey89
- Date:
- Sun Nov 18 15:19:36 2018 +0000
- Parent:
- 5:0d49326968ca
- Child:
- 7:393fa8184388
- Commit message:
- updated to RawSerial
Changed in this revision
| SDCard.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SDCard.cpp Sat Nov 10 19:31:17 2018 +0000
+++ b/SDCard.cpp Sun Nov 18 15:19:36 2018 +0000
@@ -77,7 +77,7 @@
void SDaddSample(double temp, double pressure)
{
//Add the sampled data to the SD card
- yellowLED = !yellowLED;
+ yellowLED = !yellowLED; //debugging
fp = fopen("/sd/q.csv","a");
fprintf(fp, "%6.1f,%.2f\n\r", temp, pressure);
fclose(fp);
