diff --git a/include/pin_defs.h b/include/pin_defs.h index 7d6461e..39b1715 100644 --- a/include/pin_defs.h +++ b/include/pin_defs.h @@ -57,34 +57,36 @@ //////// bar graph ////////// #define BG_LED_1 12 -#define BG_LED_2 33 +#define BG_LED_2 13 #define BG_LED_3 25 #define BG_LED_4 26 -#define BG_LED_5 27 -#define BG_LED_6 14 -#define BG_LED_7 13 -#define BG_LED_8 23 +#define BG_LED_5 15 +#define BG_LED_6 5 +#define BG_LED_7 18 +#define BG_LED_8 19 ///////////////////////////// ////////// switches ////////// #define SWITCH_1 4 #define SWITCH_2 2 -#define SWITCH_3 17 -#define SWITCH_4 16 +#define SWITCH_3 27 +#define SWITCH_4 14 ///////////////////////////// /////////// lsa ///////////// -#define LSA_A0 34 +#define LSA_A0 32 #define LSA_A1 35 -#define LSA_A2 36 +#define LSA_A2 34 #define LSA_A3 39 -#define LSA_A4 32 +#define LSA_A4 36 +//******* battery ********// +#define BATTERY 33 ///////////////////////////// /////// motor driver //////// //****** normal mode ******// #define MDA_NORMAL_IN_1 12 //MCPWM_UNIT_1 MCPWM0A -#define MDA_NORMAL_IN_2 33 //MCPWM_UNIT_1 MCPWM0B +#define MDA_NORMAL_IN_2 13 //MCPWM_UNIT_1 MCPWM0B #define MDA_NORMAL_IN_3 25 //MCPWM_UNIT_1 MCPWM1A #define MDA_NORMAL_IN_4 26 //MCPWM_UNIT_1 MCPWM1B