ジャパンオープン用のメインプログラム

Dependencies:   mbed AQM1602 HMC6352 PID

Revision:
12:bee8f883c33a
Parent:
11:3efae754e6ef
Child:
13:b20921316f3c
--- a/setting/def.h	Thu Mar 10 08:26:33 2016 +0000
+++ b/setting/def.h	Thu Mar 10 14:08:09 2016 +0000
@@ -164,6 +164,17 @@
 #define LINE_RF 5
 #define LINE_DELAY 0.5
 
+#define L_LINE 1
+#define R_LINE 0
+#define F_LINE 2
+#define B_LINE 3
+
+#define X_LINE 1
+#define Y_LINE 0
+
+#define LINE_INSIDE 0
+#define LINE_OUTSIDE 1
+
 #ifdef RED_CAT
 #define LINE_FIX 0x0
 #define LINE_FREE 0x7
@@ -200,7 +211,7 @@
     uint8_t lnHold;
     uint8_t lnRaw;
     uint8_t lnStop[4];
-    uint8_t FieldState;//0...outside,1...inside
+    uint8_t FieldState;//0...inside,1...outside
     /*uint8_t LineFlag[3];
     uint8_t LinePriority[3];
     uint8_t LineBind[3];*/