NHK2022Aチームの足回りと機構のセット メインプログラム
Dependencies: FEP_RX22 OmniPosition PID R1370 SerialMultiByte Servo ikarashiMDC_2byte_ver omni_wheel
Diff: pinconfig.h
- Revision:
- 7:778eaeae8128
- Parent:
- 6:d4b82ba4836a
--- a/pinconfig.h Sun Oct 09 10:17:42 2022 +0000 +++ b/pinconfig.h Mon Oct 10 08:17:40 2022 +0000 @@ -3,16 +3,32 @@ #include "mbed.h" +/*sub mycon*/ +static PinName const sub1TX = PC_6; +static PinName const sub1RX = PC_7; + +static PinName const sub2TX = PA_0; +static PinName const sub2RX = PA_1; + /*FEP*/ static PinName const fepTX = PC_12; static PinName const fepRX = PD_2; -static uint8_t const fepad = 4;// 通信相手のアドレス +static uint8_t const fepad = 4; // 通信相手のアドレス + /*PC*/ static PinName const pcTX = USBTX; static PinName const pcRX = USBRX; -/*measuring wheelシリアルマルチバイト*/ -static PinName const mwTX = PC_6; -static PinName const mwRX = PC_7; +/*RS485 MDC*/ +static PinName const mdcTX = PC_10; +static PinName const mdcRX = PC_11; + +/*BLDC*/ +static PinName const BLDC1 = PA_10; +static PinName const BLDC2 = PB_3; +static PinName const BLDC3 = PB_5; + +/*emergency_stop*/ +static PinName const em_stop = PA_5; #endif \ No newline at end of file