Rohm / Mbed 2 deprecated BD1020HFV_Hello

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
MikkoZ
Date:
Thu Sep 08 11:13:51 2016 +0000
Parent:
0:ee7b9cc966d7
Child:
2:913fc12a42a7
Commit message:
Added carriage return to printout.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Jan 06 01:16:14 2016 +0000
+++ b/main.cpp	Thu Sep 08 11:13:51 2016 +0000
@@ -8,7 +8,7 @@
     pc.printf("\nBD1020HFV Temperature sensor test program.\n");
     while(1) {
         temparature = -(1000 * (sensor * 3.3f) - 1546) / 8.2;
-        pc.printf("Temperature=%5.3f\n", temparature);
+        pc.printf("Temperature=%5.3f\r\n", temparature);
         wait(0.4);
     }
 }
--- a/mbed.bld	Wed Jan 06 01:16:14 2016 +0000
+++ b/mbed.bld	Thu Sep 08 11:13:51 2016 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/4336505e4b1c
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/2e9cc70d1897
\ No newline at end of file