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.
Dependencies: mbed
Revision 1:ba7e525074f9, committed 2016-09-08
- 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
Rohm BD1020HFV | Temperature Sensor