unkounko

Dependencies:   mbed Servo

Revision:
1:e73cf2469f83
Parent:
0:562021ed1ba9
Child:
11:88f17bc0724f
diff -r 562021ed1ba9 -r e73cf2469f83 Input/Switch/Switch.h
--- a/Input/Switch/Switch.h	Sat Jan 13 13:33:09 2018 +0000
+++ b/Input/Switch/Switch.h	Tue Jan 16 08:47:01 2018 +0000
@@ -7,13 +7,12 @@
 
 namespace SWITCH
 {
-    #define LIMITSW0_PIN NC
-    #define LIMITSW1_PIN A7
-    #define LIMITSW2_PIN A6
-    #define LIMITSW3_PIN A5
-    #define LIMITSW4_PIN A4
+    #define LIMITSW0_PIN A7
+    #define LIMITSW1_PIN A6
+    #define LIMITSW2_PIN A5
+    #define LIMITSW3_PIN A4
 
-    #define MOUNTING_LIMITSW_NUM (4 + 1)    //limitSw[0]の関係で+1
+    #define MOUNTING_LIMITSW_NUM 4
 
     class Switch
     {
@@ -24,4 +23,3 @@
 }
 
 #endif
-