Hello code for "Switch Science mbed LPC824"
Fork of SwitchSciencembedLPC824_test by
Diff: main.cpp
- Revision:
- 2:482581f76a1d
- Parent:
- 1:3c29c04cfeb2
- Child:
- 3:863cf79582a4
- Child:
- 5:a1251609ee7f
--- 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 ); } }