jj

Dependencies:   mbed

Revision:
0:ccd0c94dbe45
Child:
1:b64f61d65af9
Child:
2:c7267df63e0e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sat Feb 03 13:02:36 2018 +0000
@@ -0,0 +1,20 @@
+#include "mbed.h"
+
+DigitalOut led(LED_RED);
+DigitalIn button(PTA4);
+
+int main()
+{
+    while (true) {
+        led = 1; // toggle led
+        wait(0.2f); 
+        led = 0; 
+        wait(1.0f); 
+    }
+}
+asd
+fads
+fsa
+df
+asd
+f
\ No newline at end of file