![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
2022NHKAチーム(射出、紙飛行機折り、昇降)
Dependencies: OmniPosition PID R1370 SerialMultiByte Servo ikarashiMDC_2byte_ver mbed omni_wheel
pinconfig.h
- Committer:
- nagix
- Date:
- 21 months ago
- Revision:
- 0:b0ca7b23bdb5
File content as of revision 0:b0ca7b23bdb5:
#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