aa

Dependencies:   mbed

Revision:
27:dd9f27fce7d1
Parent:
25:b3a9f34b201d
Child:
30:8f092276b2ba
diff -r 4c0ce2f05688 -r dd9f27fce7d1 System/Process/Process.h
--- a/System/Process/Process.h	Sat Sep 28 23:02:17 2019 +0000
+++ b/System/Process/Process.h	Thu Oct 03 05:25:43 2019 +0000
@@ -23,22 +23,24 @@
 
 /* ---------- limitswitch ---------- */
 
-#define  LSW_LB   0  // 上下1段目 左 リミット
-#define  LSW_RB   1  // 上下1段目 右 リミット
+#define  LSW_LB   3  // 上下1段目 左 リミット
+#define  LSW_RB   8 // 上下1段目 右 リミット
 #define  LSW_UU   2  // 上下2段目 上 リミット
-#define  LSW_UB   3  // 上下2段目 下 リミット
+#define  LSW_UB   16  // 上下2段目 下 リミット
 #define  TOW_1L   4  // タオル1 左 リミット
 #define  TOW_1R   5  // タオル1 右 リミット
 #define  TOW_2L   6  // タオル2 左 リミット
 #define  TOW_2R   7  // タオル2 右 リミット
+#define LEFTlim    0
+#define RIGHTlim   1
 
-#define  SETTING_SW   8  // セッティングタイム用
+#define  SETTING_SW   10  // セッティングタイム用
 #define  QF_SW        9  // 予選・決勝 切り替え
-#define  UNFOLD_SW   10  // タオルセット用の展開
-#define  TOWEL1_SW   11  // タオル1 切り替え
+#define  UNFOLD_ZYOUGE_SW   11  // タオルセット用の展開
+//#define  TOWEL1_SW   11  // タオル1 切り替え
 #define  REDBLUE_SW  12  // 赤青 切り替え
-#define  SHEETS_SW   13  // シーツ 切り替え
-#define  TOWEL2_SW  14  // タオル2 切り替え
+#define  SHEETS_SW   13  // シーツのみモード
+#define  UNFOLD_TOWL_SW  14  
 #define  START_SW    15  // スタートボタン
 
 /* ---------- limitswitch ---------- */
@@ -56,16 +58,23 @@
 
 /* ---------- solenoid ---------- */
 
-#define  TOWEL0 solenoid0  // タオル横 展開
-#define  TOWEL1 solenoid2  // タオル1 
-#define  TOWEL2 solenoid4  // タオル2
-#define  CLOTHE solenoid6  // シーツの洗濯ばさみ
+#define  TOWEL0 3
+ // タオル横 展開
+#define  TOWEL1 0 // タオル1 
+#define  TOWEL2 1 // タオル2
+#define  CLOTHESPIN 2 // シーツの洗濯ばさみ
 
 /* ---------- solenoid ---------- */
 
-
+#define  ECHO_0  PC_3
+#define  ECHO_1  PC_1
+    
+#define  TRIG_0  PC_0
+#define  TRIG_1  PB_0
 
-
+#define SELECT_1 PB_8//LS18
+#define SELECT_2 PC_9//LS19
+#define SELECT_3 PC_8//LS20
 
 
 typedef union