LV 1 - US - Adam Stanic i Alen Sjenicaku

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
2016US_AdamStanic
Date:
Mon Mar 07 10:13:23 2016 +0000
Commit message:
Adam Stani? i Alen Sjenicaku

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 74cc6b8e0c21 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Mar 07 10:13:23 2016 +0000
@@ -0,0 +1,14 @@
+#include "mbed.h"
+
+DigitalOut myled(LED_BLUE);
+
+int main()
+{
+    while(1)
+    {
+        myled=1;
+        wait(1);
+        myled=0;
+        wait(1);
+        }
+    }
\ No newline at end of file
diff -r 000000000000 -r 74cc6b8e0c21 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Mon Mar 07 10:13:23 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/87f2f5183dfb
\ No newline at end of file