Working documentation?

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
jah128
Date:
Fri Oct 11 10:46:41 2019 +0000
Commit message:
Hello world test with working library

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 7b7ad60952f6 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Oct 11 10:46:41 2019 +0000
@@ -0,0 +1,34 @@
+#include "mbed.h"
+
+DigitalOut myled1(LED1);
+DigitalOut myled2(LED2);
+DigitalOut myled3(LED3);
+DigitalOut myled4(LED4);
+
+//Comment
+/* comment block */
+
+int main()
+{
+    while(1) {
+        myled1 = 1;
+        wait(0.2);
+        myled2 = 1;
+        wait(0.2);
+        myled3 = 1;
+        wait(0.2);
+        myled4 = 1;
+        wait(0.4);
+        myled4 = 0;
+        wait(0.2);
+        myled3 = 0;
+        wait(0.2);
+        myled2 = 0;
+        wait(0.2);
+        myled1 = 0;
+        wait(0.4);
+        
+        
+        }
+        
+}
diff -r 000000000000 -r 7b7ad60952f6 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri Oct 11 10:46:41 2019 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/a9913a65894f
\ No newline at end of file