uuu

Dependencies:   mbed TrapezoidControl QEI Pulse LM61CIZ

Revision:
12:c09b3e08a316
Parent:
11:028a150943b5
Child:
13:b6e02d6261d7
diff -r 028a150943b5 -r c09b3e08a316 System/Process/Process.h
--- a/System/Process/Process.h	Sat Oct 06 08:30:58 2018 +0000
+++ b/System/Process/Process.h	Sun Oct 07 09:08:18 2018 +0000
@@ -9,7 +9,24 @@
 #define ROLLER_LL motor[ROLLER_LL_NUM]
 */
 
-#define BUZZER_PIN PA_15
+#define BUZZER_PIN PA_15 //ブザー
+
+#define TIRE_FR 0 //足回り前右
+#define TIRE_FL 1 //足回り前左
+#define TIRE_BR 2 //足回り後右
+#define TIRE_BL 3 //足回り後左
+
+#define Angle_R 4 //角度調節右
+#define Angle_L 5 //角度調節左
+
+#define Lim_AR 3 //角度調節右
+#define Lim_AL 4 //角度調節左
+#define Lim_R  0 //センター右
+#define Lim_L  1 //センター左
+#define EMS_0  LimitSw::IsPressed(8) //非常停止ブザー0
+#define EMS_1  LimitSw::IsPressed(9) //非常停止ブザー1
+#define LS     LimitSw::IsPressed(7) //赤ゾーン用スイッチ
+#define BS     LimitSw::IsPressed(6) //青ゾーン用スイッチ
 
 #define ROTATE_PER_REVOLUTIONS 50
 
@@ -187,4 +204,5 @@
 };
 
 extern TapeLedData sendLedData;
+
 #endif