2022 NHK Bteam main totyuu
Dependencies: HOSOKIkikou FEP_RX22 QEI R1370 ikarashiMDC_2byte_ver mbed 2022_NHK_B_canTR PID SEKIkikou
pinconfig.h
- Committer:
- umekou
- Date:
- 23 months ago
- Revision:
- 11:5697197abb4c
- Parent:
- 7:76790bcece4b
File content as of revision 11:5697197abb4c:
#ifndef PIN_CONFIG_H #define PIN_CONFIG_H //main_pinconfig.h #include "mbed.h" /*stop*/ static PinName const stop_pin = PA_5; /*FEP*/ static PinName const fepTX = PA_9; static PinName const fepRX = PA_10; static uint8_t const fepad = 20; // 通信相手のアドレス /*motor serial*/ static PinName const motorTX = PC_10; static PinName const motorRX = PC_11; /*encoder*/ /* static PinName const encoder1_A = PB_2; static PinName const encoder1_B = PB_1; */ static PinName const encoder2_A = PA_6; static PinName const encoder2_B = PA_7; static PinName const encoder3_A = PB_13; static PinName const encoder3_B = PB_15; /* static PinName const encoder4_A = PB_3; static PinName const encoder4_B = PB_4; */ static PinName const encoder4_A = PA_1; static PinName const encoder4_B = PA_0; /*ikarashiCan*/ static PinName const canrRD = PB_5; static PinName const canrTD = PB_6; static PinName const cantRD = PB_8; static PinName const cantTD = PB_9; #endif