Motion controll board test program

Dependencies:   Motor mbed eeprom

Revision:
1:5a5abae3748b
Parent:
0:be4a5e3ebb41
diff -r be4a5e3ebb41 -r 5a5abae3748b pinconfig.h
--- a/pinconfig.h	Tue Dec 22 15:02:04 2015 +0000
+++ b/pinconfig.h	Sat Mar 26 07:50:05 2016 +0000
@@ -14,14 +14,16 @@
 #define B_LL PC_9
 
 //limit switch
-#define Lim_LU1 PB_7
+/*#define Lim_LU1 PB_7
 #define Lim_LU2 PC_13
 #define Lim_LL1 PC_14
-#define Lim_LL2 PC_15
+#define Lim_LL2 PC_15*/
 #define Lim_RU1 D2
 #define Lim_RU2 D3
 #define Lim_RL1 D8
 #define Lim_RL2 D9
+#define Lim_IR1 PC_2
+
 
 //encoder mode1
 #define Emosi PC_12
@@ -34,5 +36,8 @@
 #define Tx PA_2
 #define Rx PA_3
 #define Dir PB_5
+//eeprom
+#define I2C_SDA D14
+#define I2C_SCL D15
 
 #endif