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
--- /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);
+    //}
+    }
+    }
+        
+        
+        
+
--- /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