mangue baja example serial

Dependencies:   mbed-STM32F103C8T6

Revision:
0:85b368f15c18
Child:
1:e96b56e982b5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Jul 02 22:49:09 2019 +0000
@@ -0,0 +1,14 @@
+#include "stm32f103c8t6.h"
+#include "mbed.h"
+  
+DigitalOut myled(PC_13);
+
+// main() runs in its own thread in the OS
+int main() {  
+    while(1) {
+        myled = 1; // LED is ON
+        wait(0.2); // 200 ms
+        myled = 0; // LED is OFF
+        wait(1.0); // 1 sec
+    }
+}