โปรแกรมของบอร์ด Motion

Dependencies:   BEAR_Reciever Motor eeprom iSerial mbed

Fork of DogPID by Digital B14

Revision:
1:84167ca00307
Parent:
0:451c27e4d55e
Child:
11:3dd92d1d542c
--- a/pinconfig.h	Mon Dec 07 14:41:42 2015 +0000
+++ b/pinconfig.h	Thu Jan 14 18:31:28 2016 +0000
@@ -7,6 +7,12 @@
 #define A_LU PD_2
 #define B_LU A0
 
+//lower left
+#define PWM_LL PB_9
+#define CS_LL D11
+#define A_LL PB_8
+#define B_LL PC_9
+
 //limit switch
 #define Lim_LU1 PB_7
 #define Lim_LU2 PC_13
@@ -24,4 +30,9 @@
 #define EncoderA PA_13
 #define EncoderB PA_14
 
+//serial comm
+#define Tx PA_2
+#define Rx PA_3
+#define Dir PB_5
+
 #endif