いからしMDCスレーブプログラム

Dependencies:   mbed SoftPWM MotorSMLAP

Revision:
5:bcf70ca27a55
Parent:
4:2fb782334564
Child:
13:0cd5e8c91941
--- a/MDC3_0pinConfig.h	Tue Aug 22 02:10:11 2017 +0000
+++ b/MDC3_0pinConfig.h	Fri Sep 01 03:17:31 2017 +0000
@@ -1,5 +1,5 @@
-#ifndef MDC3.0_PIN_CONFIG
-#define MDC3.0_PIN_CONFIG
+#ifndef MDC3_0_PIN_CONFIG
+#define MDC3_0_PIN_CONFIG
 
 namespace pinConfig
 {
@@ -36,20 +36,20 @@
 
     /* Motor signal */
     /* ch0 */
-    static PinName const DIR_H_0 = PA_2;
-    static PinName const DIR_L_0 = PA_3;
+    static PinName const DIR_L_0 = PA_2;
+    static PinName const DIR_H_0 = PA_3;
     static PinName const PWM0   = PA_6;
     /* ch1 */
-    static PinName const DIR_H_1 = PA_4;
-    static PinName const DIR_L_1 = PA_5;
+    static PinName const DIR_L_1 = PA_4;
+    static PinName const DIR_H_1 = PA_5;
     static PinName const PWM1   = PA_7;
     /* ch2 */
-    static PinName const DIR_H_2 = PB_12;
-    static PinName const DIR_L_2 = PB_13;
+    static PinName const DIR_L_2 = PB_12;
+    static PinName const DIR_H_2 = PB_13;
     static PinName const PWM2   = PB_0;
     /* ch3 */
-    static PinName const DIR_H_3 = PB_14;
-    static PinName const DIR_L_3 = PB_15;
+    static PinName const DIR_L_3 = PB_14;
+    static PinName const DIR_H_3 = PB_15;
     static PinName const PWM3   = PB_1;
 };
 #endif /* MDC3.0_PIN_CONFIG */
\ No newline at end of file