NHK2022Aチームの足回りと機構のセット メインプログラム
Dependencies: FEP_RX22 OmniPosition PID R1370 SerialMultiByte Servo ikarashiMDC_2byte_ver omni_wheel
pinconfig.h
- Committer:
- me33004m
- Date:
- 2022-10-10
- Revision:
- 7:778eaeae8128
- Parent:
- 6:d4b82ba4836a
File content as of revision 7:778eaeae8128:
#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