DEUXIEME PROG

Dependencies:   Servo mbed

Revision:
1:32ebac4d3716
diff -r a1c8577f66c5 -r 32ebac4d3716 flashled.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flashled.cpp	Thu Feb 19 13:29:00 2015 +0000
@@ -0,0 +1,12 @@
+#include "mbed.h"
+ 
+DigitalOut led(LED3);
+ 
+int flash () {
+    while(1) {
+        led = 1;
+        wait(0.5);
+        led = 0;
+        wait(0.2);
+    }
+}
\ No newline at end of file