Andriy Makukha / Mbed 2 deprecated football_project_wo_output

Dependencies:   mbed

Fork of football_project by MZJ

Revision:
15:b86c4b798aa1
Parent:
11:d3aa5fca2330
Child:
18:affef3a7db2a
--- a/io/MTSSerial.cpp	Tue Jun 30 07:35:28 2015 +0000
+++ b/io/MTSSerial.cpp	Tue Jun 30 21:45:21 2015 +0000
@@ -46,7 +46,7 @@
     serial.format(bits, parity, stop_bits);
 }
 
-extern DigitalOut led1;  //  ALS
+extern DigitalOut led0;  //  ALS
 
 void MTSSerial::handleRead()
 {
@@ -55,7 +55,7 @@
     //  printf("[ERROR] Serial Rx Byte Dropped [%c][0x%02X]\r\n", byte, byte);
         printf( " ! " );
     }
-    led1 = !led1;  // Toggle LED on char in.  ALS
+    led0 = !led0;  // Toggle LED on char in.  ALS
 }
 
 // Currently uses Non-Irq based blocking write calls   -- Now uses TXDRDY IRQ  ALS  20150419