sub2 MDC and enc
Dependencies: 2022_NHK_B_canTR FEP_RX22 QEI ikarashiMDC_2byte_ver mbed HOSOKIkikou R1370 SEKIkikou
pinconfig.h
00001 #ifndef PIN_CONFIG_H 00002 #define PIN_CONFIG_H 00003 00004 //sub2_pinconfig.h 00005 00006 #include "mbed.h" 00007 00008 /*stop*/ 00009 static PinName const stop_pin = PA_5; 00010 00011 /*FEP*/ 00012 static PinName const fepTX = PA_0; 00013 static PinName const fepRX = PA_1; 00014 static uint8_t const fepad = 20; // 通信相手のアドレス 00015 00016 /*motor serial*/ 00017 static PinName const motorTX = PC_10; 00018 static PinName const motorRX = PC_11; 00019 00020 /*encoder*/ 00021 static PinName const encoder1_A = PB_2; 00022 static PinName const encoder1_B = PB_1; 00023 00024 static PinName const encoder2_A = PA_6; 00025 static PinName const encoder2_B = PA_7; 00026 00027 static PinName const encoder3_A = PB_13; 00028 static PinName const encoder3_B = PB_15; 00029 00030 static PinName const encoder4_A = PB_3; 00031 static PinName const encoder4_B = PB_4; 00032 00033 /*jyro*/ 00034 static PinName const jyro_TX = PA_9; 00035 static PinName const jyro_RX = PB_7; 00036 static PinName const jyro_RST = D6; 00037 00038 /*ikarashiCan*/ 00039 static PinName const canrRD = PB_5; 00040 static PinName const canrTD = PB_6; 00041 00042 static PinName const cantRD = PB_8; 00043 static PinName const cantTD = PB_9; 00044 00045 #endif
Generated on Thu Oct 13 2022 14:05:48 by
1.7.2