2021NHK main program move and shoot
Dependencies: 2021Bcon omni_wheel prototype01 PID ikarashiMDC_2byte_ver OmniPosition S-ShapeModelFloat Servo_softpwm NHK2021_ikarashiSV
pinconfig.h
- Committer:
- piroro4560
- Date:
- 2021-10-31
- Revision:
- 2:25f1ed5834b8
- Parent:
- 0:2b93017d0053
File content as of revision 2:25f1ed5834b8:
#ifndef PIN_CONFIG_H #define PIN_CONFIG_H #include "mbed.h" /*FEP*/ static PinName const fepTX = PC_12; static PinName const fepRX = PD_2; static uint8_t const fepad = 005; // 通信相手のアドレス /*PC*/ static PinName const pcTX = USBTX; static PinName const pcRX = USBRX; /*RS485 MDC*/ static PinName const mdcTX = PC_10; static PinName const mdcRX = PC_11; /*slv*/ static PinName const slv1 = PB_5; static PinName const slv2 = PB_4; static PinName const slv3 = PB_10; static PinName const slv4 = PA_5; static PinName const slv5 = PB_9; static PinName const slv6 = PB_8; /*servo*/ static PinName const servo1 = PA_10; static PinName const servo2 = PB_3; static PinName const servo3 = PB_3; /*emergency_stop*/ static PinName const em_stop = PB_0; /*measuring wheel*/ static PinName const mwTX = PC_6; static PinName const mwRX = PC_7; #endif