MOtor control Pololu

Dependencies:   Encoder HIDScope mbed-dsp mbed

Revision:
14:91403dd3dcf5
Parent:
13:0d4bc34e410f
Child:
15:743fc8794a1f
--- a/main.cpp	Wed Oct 08 15:11:49 2014 +0000
+++ b/main.cpp	Mon Oct 20 11:38:18 2014 +0000
@@ -8,10 +8,10 @@
 #define K_D (0.0005 /TSAMP)
 #define I_LIMIT 1.
 
-#define M1_PWM PTC8
-#define M1_DIR PTC9
-#define M2_PWM PTA5
-#define M2_DIR PTA4
+#define M2_PWM PTC8
+#define M2_DIR PTC9
+#define M1_PWM PTA5
+#define M1_DIR PTA4
 
 //#define POT_AVG 50