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.
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 ); } }