DECS @UNIST / Mbed 2 deprecated Anybaro_ver_7

Dependencies:   mbed

Revision:
9:7d6fa62f9022
Parent:
8:a435e7aa7a02
Child:
10:3fcaf50f528f
--- a/main.cpp	Fri Mar 29 01:29:39 2019 +0000
+++ b/main.cpp	Tue Jun 25 02:10:31 2019 +0000
@@ -11,7 +11,7 @@
 InterruptIn         down(PC_9);
 InterruptIn         bt_ml(PC_10);                // Millking action button       
 
-DigitalOut          led(LED2);                   // Operating LED signal 
+DigitalOut          led(PA_5);                   // Operating LED signal 
 
 AnalogIn            disSensor(PA_7);             // Distance Sensor
 
@@ -231,7 +231,6 @@
     bt.baud(115200);
 //    pc.baud(115200);
     bt.puts("START 181228 Ver.6 \n");
-
     int modeNum = 0;   
     int modeLED = 0;
     int modeMotor = 0;
@@ -250,7 +249,7 @@
     
     bt_ml.fall(&ManualMk);                                  // [ADD] Interrupt Millking Action Manual Button    
     
-//    timer0.attach(&OperateLED,0.2);
+    timer0.attach(&OperateLED,0.2);
 //    timer4.attach(&Test,0.1);
     bt.attach(&ReadData, Serial::RxIrq);