nada

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
raulreyes
Date:
Sat Nov 22 15:52:46 2014 +0000
Parent:
0:cd9c3142b4de
Commit message:
uno dos y tres probando

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r cd9c3142b4de -r e0bf85cd35ae main.cpp
--- a/main.cpp	Sat Nov 22 15:33:49 2014 +0000
+++ b/main.cpp	Sat Nov 22 15:52:46 2014 +0000
@@ -6,16 +6,16 @@
 //------------------------------------
 
 Serial pc(SERIAL_TX, SERIAL_RX);
- 
+
 DigitalOut myled(LED1);
- 
-int main() {
-  int i = 1;
-  pc.printf("Hello World !\n");
-  while(1) { 
-      wait(1);
-      pc.printf("This program runs since %d seconds.\n", i++);
-      myled = !myled;
-  }
+
+int main()
+{
+    int i = 1;
+    pc.printf("Hello World !\n");
+    while(1) {
+        wait(1);
+        pc.printf("This program runs since %d seconds.\n", i++);
+        myled = !myled;
+    }
 }
- 
\ No newline at end of file