lknds

Dependencies:   mbed TrapezoidControl Pulse QEI

Revision:
16:3f2c2d89372b
Parent:
1:b1219d8ca117
Child:
22:7d93f79a3686
--- a/Input/Switch/Switch.h	Sun Oct 21 02:14:15 2018 +0000
+++ b/Input/Switch/Switch.h	Mon Jul 01 13:00:20 2019 +0000
@@ -8,20 +8,21 @@
     #define SW_ON   0
     #define SW_OFF  1
 
-    
-    #define DIP0_PIN    PA_8
-    #define DIP1_PIN    PB_10
-    #define DIP2_PIN    PB_4
-    #define DIP3_PIN    PB_5
+    //DipSwitch
+    #define DIP0_PIN    PA_4
+    #define DIP1_PIN    PA_6
+    #define DIP2_PIN    PA_7
+    #define DIP3_PIN    PC_7
+                        
 
-    //マルチプレクサ
-    #define LS_PIN      PB_6
-    #define SELECT0_PIN PC_8
-    #define SELECT1_PIN PC_9
-    #define SELECT2_PIN PB_9
-    #define SELECT3_PIN PB_8
-
-    //Dipsw
+    //Multiplexer
+    #define LS_PIN      PD_2
+    #define SELECT0_PIN PC_12
+    #define SELECT1_PIN PA_15
+    #define SELECT2_PIN PC_13
+    #define SELECT3_PIN PB_7
+    
+    
     #define DIP0    dipSw[0]
     #define DIP1    dipSw[1]
     #define DIP2    dipSw[2]