![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
2022NHKAチーム(射出、紙飛行機折り、昇降)
Dependencies: OmniPosition PID R1370 SerialMultiByte Servo ikarashiMDC_2byte_ver mbed omni_wheel
Diff: pinconfig.h
- Revision:
- 0:b0ca7b23bdb5
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pinconfig.h Sun Oct 09 08:59:22 2022 +0000 @@ -0,0 +1,34 @@ +#ifndef PIN_CONFIG_H +#define PIN_CONFIG_H + +#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; // 通信相手のアドレス + + +/*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; + +/*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