Hello code for "Switch Science mbed LPC824"

Dependencies:   mbed

Fork of SwitchSciencembedLPC824_test by Mako SHIMURA

Files at this revision

API Documentation at this revision

Comitter:
okano
Date:
Mon Nov 03 00:11:02 2014 +0000
Parent:
1:3c29c04cfeb2
Child:
3:863cf79582a4
Child:
5:a1251609ee7f
Commit message:
added : slave address change capability & operator overloading

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
test_LM75B.lib Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon Nov 03 00:06:59 2014 +0000
+++ b/main.cpp	Mon Nov 03 00:11:02 2014 +0000
@@ -5,8 +5,11 @@
 
 int main()
 {
+    float   t;
+
     while(1) {
-        printf( "temp = %7.3f\r\n", temp.read() );
+        t   = temp;
+        printf( "temp = %7.3f\r\n", t );
         wait( 1 );
     }
 }
--- a/test_LM75B.lib	Mon Nov 03 00:06:59 2014 +0000
+++ b/test_LM75B.lib	Mon Nov 03 00:11:02 2014 +0000
@@ -1,1 +1,1 @@
-test_LM75B#6ecb302da815
+test_LM75B#239684cd8ae9