danillo blink

Dependencies:   mbed-STM32F103C8T6

Files at this revision

API Documentation at this revision

Comitter:
danilloaguiar
Date:
Tue Jul 30 18:37:57 2019 +0000
Parent:
0:85b368f15c18
Commit message:
Mangue Baja Serial Example

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Jul 02 22:49:09 2019 +0000
+++ b/main.cpp	Tue Jul 30 18:37:57 2019 +0000
@@ -1,14 +1,10 @@
 #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
+        printf("HELLO");
     }
 }