2015_robocon_bteam / Mbed 2 deprecated 2015robot_main

Dependencies:   PID QEI mbed

Fork of 2015robot_main by Naoto Deguchi

Revision:
84:919a335ac81e
Parent:
79:7f86e18f40ef
Child:
108:7eb434cfcbd7
--- a/communicate.h	Mon Oct 12 06:15:45 2015 +0000
+++ b/communicate.h	Mon Oct 12 07:42:49 2015 +0000
@@ -214,6 +214,7 @@
 short edge_right        = 0;
 short edge_left         = 0;
 short edge_up           = 0;
+short edge_down         = 0;
 short square            = 0;
 short triangle          = 0;
 short circle            = 0;
@@ -272,6 +273,7 @@
     if(!left) edge_left=1; 
     if(!up) edge_up=1;
     if(!square) edge_square=1;
+    if(!down) edge_down=1;
 }
 ///interrupt SBDBT RX.
 inline void SBDBT_interrupt()