2021NHK main program move and shoot
Dependencies: 2021Bcon omni_wheel prototype01 PID ikarashiMDC_2byte_ver OmniPosition S-ShapeModelFloat Servo_softpwm NHK2021_ikarashiSV
Diff: pinconfig.h
- Revision:
- 0:2b93017d0053
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pinconfig.h Sun Oct 24 14:27:04 2021 +0000 @@ -0,0 +1,38 @@ +#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 \ No newline at end of file