2015_robocon_bteam / Mbed 2 deprecated 2015robot_main

Dependencies:   PID QEI mbed

Fork of 2015robot_main by Naoto Deguchi

Revision:
29:03bb1ddbe456
Parent:
26:8e6c736b6791
Child:
32:eb7c263cb5cf
Child:
36:fd04196b4b34
--- a/machine_ps3.h	Fri Sep 18 06:40:32 2015 +0000
+++ b/machine_ps3.h	Fri Sep 18 08:55:05 2015 +0000
@@ -90,6 +90,10 @@
 
 void shootEsaka() {
     Indicator1 = !Indicator1;
+    if(enableShoot){
+        enableShoot=0;
+        sendData(1,6);
+    }
 }
 
 #endif /*machine.h*/