sub1 enc and r1370
Dependencies: 2022_NHK_B_canTR QEI R1370 mbed
pinconfig.h
00001 #ifndef PIN_CONFIG_H 00002 #define PIN_CONFIG_H 00003 00004 //sub1_pinconfig.h 00005 00006 #include "mbed.h" 00007 00008 /*encoder*/ 00009 static PinName const encoder1_A = PB_2; 00010 static PinName const encoder1_B = PB_1; 00011 00012 static PinName const encoder2_A = PA_6; 00013 static PinName const encoder2_B = PA_7; 00014 00015 static PinName const encoder3_A = PB_13; 00016 static PinName const encoder3_B = PB_15; 00017 00018 static PinName const encoder4_A = PA_1; 00019 static PinName const encoder4_B = PA_0; 00020 00021 /*jyro*/ 00022 static PinName const jyro_TX = PC_10; 00023 static PinName const jyro_RX = PC_11; 00024 00025 /*ikarashiCan*/ 00026 static PinName const canrRD = PB_5; 00027 static PinName const canrTD = PB_6; 00028 00029 static PinName const cantRD = PB_8; 00030 static PinName const cantTD = PB_9; 00031 00032 #endif
Generated on Mon Oct 10 2022 09:53:43 by
1.7.2