
Hello code for "Switch Science mbed LPC824"
Fork of SwitchSciencembedLPC824_test by
Revision 2:482581f76a1d, committed 2014-11-03
- 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