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.
Dependencies: mbed
Revision 0:825c779a8251, committed 2018-07-12
- Comitter:
- kaushalpkk
- Date:
- Thu Jul 12 17:28:08 2018 +0000
- Commit message:
- commit
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Thu Jul 12 17:28:08 2018 +0000
@@ -0,0 +1,13 @@
+#include "mbed.h"
+
+Serial pc(USBTX, USBRX);
+Timer t;
+
+int main() {
+ pc.baud(9600);
+ t.start();
+ printf("123456789\n123456789\n123456789\n123456789\n123456789\n");
+ t.stop();
+ printf("The time taken was %d uS\n", t.read_us());
+}
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Jul 12 17:28:08 2018 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/a7c7b631e539 \ No newline at end of file