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.
Revision 4:3ed3e2aac291, committed 2020-10-18
- Comitter:
- smartsystemdesign
- Date:
- Sun Oct 18 01:03:26 2020 +0000
- Parent:
- 3:cea064439566
- Commit message:
- Removed unneeded print statements.
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file | 
--- a/main.cpp	Tue Jan 31 18:13:04 2017 +0000
+++ b/main.cpp	Sun Oct 18 01:03:26 2020 +0000
@@ -171,18 +171,15 @@
 //            pc.printf("Temperature %d: %f *C\t", i, steinhart);
 
 // Print commas for plotting (except at end):
-            if(i == 8) {
-                pc.printf("%.4f", steinhart);
-            }
-            else if(i == 6)
+
+            if(i == 6)
                 continue;   // bad analog input (on LED)
             else {
                 pc.printf("%.4f,", steinhart);
             }
         }
-        pc.printf("%.2f, ", timer.read()/60.0f); // print time from boot in minutes
-                
-        pc.printf("\n");
+        pc.printf("%.2f\n", timer.read()/60.0f); // print time from boot in minutes
+
         wait(1);
     }
 }