Cambio de pin de entrada digital a PA10

Dependencies:   BufferedSerial PinDetect mbed

Fork of DTK-MEGAPACA_NUCLEO by Felícito Manzano

Revision:
4:8a4c7f35157c
Parent:
3:98990a014463
Child:
6:e0f528571367
--- a/main.cpp	Sun Oct 09 09:29:10 2016 +0000
+++ b/main.cpp	Sun Oct 09 09:41:41 2016 +0000
@@ -5,13 +5,13 @@
     confSysClock();     //Configure system clock (72MHz HSE clock, 48MHz USB clock)
     
     Serial      pc(PA_2, PA_3);
-    DigitalOut  led(LED1);
+    DigitalOut  myled(LED1);
     
     while(1) {
-        led = 1;        // turn the on-board LED on
-        wait_ms(200);   // wait 200 millisecond
-        led = 0;        // turn the on-board LED off
-        wait_ms(1000);  // wait 1000 millisecond
+        myled = 1;      // turn the on-board LED on
+        wait_ms(200);   // wait 200 milliseconds
+        myled = 0;      // turn the on-board LED off
+        wait_ms(1000);  // wait 1000 milliseconds
         pc.printf("Blink\r\n");
     }
 }