gr

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
akovaci
Date:
Fri May 12 20:25:56 2017 +0000
Commit message:
g

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 25f263c526a9 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri May 12 20:25:56 2017 +0000
@@ -0,0 +1,27 @@
+#include "mbed.h"
+
+#include "mbed.h"
+void led_switch(void);
+Ticker time_up;
+DigitalOut myled(D7);
+ 
+void led_switch() {
+    //myled=!myled;     
+    //printf("hello");  
+}
+ 
+int main(){
+    
+    while(1){
+    time_up.attach(&led_switch, 2.0);
+     printf("hello\n");  
+    //while(true) {
+        
+        wait(3);
+    //}
+    }
+    }
+        
+        
+        
+
diff -r 000000000000 -r 25f263c526a9 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri May 12 20:25:56 2017 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/e1686b8d5b90
\ No newline at end of file