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.
Revision 1:10bbb8a13329, committed 2014-03-27
- Comitter:
- TuanPM
- Date:
- Thu Mar 27 17:26:59 2014 +0000
- Parent:
- 0:6cb99f312e0e
- Commit message:
- First release
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Mar 27 17:22:57 2014 +0000
+++ b/main.cpp Thu Mar 27 17:26:59 2014 +0000
@@ -9,7 +9,7 @@
int main()
{
- int j = 1, i;
+ int i;
int devices_found=0;
//pc.attach(&pcRx, pc.RxIrq);
@@ -29,7 +29,6 @@
while(1) {
- pc.printf("This program runs since %d seconds.\r\n", j++);
probe[0].convert_temperature(DS1820::all_devices);
for (i=0; i<devices_found; i++) {
pc.printf("Device[%d]: %3.1f \r\n",i, probe[i].temperature('c'));