Clock cycle

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
gkumar
Date:
Thu Jun 11 07:30:21 2015 +0000
Commit message:
Execution_time

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
diff -r 000000000000 -r 122d7b243f18 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Jun 11 07:30:21 2015 +0000
@@ -0,0 +1,11 @@
+#include "mbed.h"
+
+DigitalOut gpo(D7);
+
+int main()
+{
+    while (true) {
+        gpo = !gpo; // toggle pin
+        wait_us(1);
+    }
+}
\ No newline at end of file
diff -r 000000000000 -r 122d7b243f18 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Thu Jun 11 07:30:21 2015 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/7cff1c4259d7
\ No newline at end of file