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.
Fork of app-board-LM75B by
Revision 4:02cf3a06a13e, committed 2012-10-26
- Comitter:
- chris
- Date:
- Fri Oct 26 21:57:09 2012 +0000
- Parent:
- 3:4d612f16ad84
- Commit message:
- First commit
Changed in this revision
| C12832_lcd.lib | Show diff for this revision Revisions of this file |
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 4d612f16ad84 -r 02cf3a06a13e C12832_lcd.lib --- a/C12832_lcd.lib Fri Oct 26 21:42:06 2012 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/users/dreschpe/code/C12832_lcd/#468cdccff7af
diff -r 4d612f16ad84 -r 02cf3a06a13e main.cpp
--- a/main.cpp Fri Oct 26 21:42:06 2012 +0000
+++ b/main.cpp Fri Oct 26 21:57:09 2012 +0000
@@ -1,18 +1,12 @@
#include "mbed.h"
#include "LM75B.h"
-#include "C12832_lcd.h"
-C12832_LCD lcd;
LM75B tmp(p28,p27);
int main ()
{
-
while (1) {
- lcd.cls();
- lcd.locate(0,3);
- lcd.printf("%.2f\n",tmp.read());
+ printf("%.2f\n",tmp.read());
wait(1.0);
}
-
}

LM75B Temperature Sensor