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 2:e3e801b31933, committed 2016-02-18
- Comitter:
 - eencae
 - Date:
 - Thu Feb 18 16:09:50 2016 +0000
 - Parent:
 - 1:63221e5c0606
 - Commit message:
 - Changed Kelvin to Celsius in print statement
 
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file | 
--- a/main.cpp	Mon Feb 15 11:19:44 2016 +0000
+++ b/main.cpp	Thu Feb 18 16:09:50 2016 +0000
@@ -58,7 +58,7 @@
 
         // read temperature and print over serial port
         float T = get_temperature();
-        pc.printf("T = %f K\n",T);
+        pc.printf("T = %f C\n",T);
         // small delay - 1s to match the update rate of the sensor (1 Hz)
         wait(1.0);