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: C12832 LM75B mbed
Fork of app-board-LM75B by
Revision 7:80852d9feb4b, committed 2014-02-17
- Comitter:
- chris
- Date:
- Mon Feb 17 14:28:16 2014 +0000
- Parent:
- 6:bb84f3ab523d
- Child:
- 8:e0f3f151c3cc
- Commit message:
- updated the call to the sensor read() function
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Feb 07 17:44:04 2014 +0000
+++ b/main.cpp Mon Feb 17 14:28:16 2014 +0000
@@ -11,7 +11,7 @@
while (1) {
lcd.cls();
lcd.locate(0,3);
- lcd.printf("Temp = %.1f\n", float(sensor));
+ lcd.printf("Temp = %.1f\n", sensor.read());
wait(1.0);
}
}
