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:
- 4:9ea938dc72f8
- Parent:
- 3:a93f3494e6c1
- Child:
- 5:7e1dcb3904dd
--- a/main.cpp Wed Jul 03 16:48:21 2013 +0000
+++ b/main.cpp Thu Jul 04 00:35:19 2013 +0000
@@ -3,8 +3,8 @@
Serial pc(USBTX, USBRX); // tx, rx
-DigitalIn sensor1(p11);
-DigitalIn sensor2(p12);
+DigitalIn sensor1(p5);
+DigitalIn sensor2(p6);
LocalFileSystem local("local");
Timer t;
@@ -32,7 +32,7 @@
t.stop();
pc.printf("End. Time taken was %f seconds \n \r", t.read());
change = 0;
- fprintf(fp, "%f \n \r", t.read());
+ fprintf(fp, "%f \n", t.read());
count++;
}
if (count==endcount) {
