2022NHKAチーム(射出、紙飛行機折り、昇降)
Dependencies: OmniPosition PID R1370 SerialMultiByte Servo ikarashiMDC_2byte_ver mbed omni_wheel
pinconfig.h
00001 #ifndef PIN_CONFIG_H 00002 #define PIN_CONFIG_H 00003 00004 #include "mbed.h" 00005 00006 /*sub mycon*/ 00007 static PinName const sub1TX = PC_6; 00008 static PinName const sub1RX = PC_7; 00009 00010 static PinName const sub2TX = PA_0; 00011 static PinName const sub2RX = PA_1; 00012 00013 /*FEP*/ 00014 static PinName const fepTX = PC_12; 00015 static PinName const fepRX = PD_2; 00016 static uint8_t const fepad = 4; // 通信相手のアドレス 00017 00018 00019 /*PC*/ 00020 static PinName const pcTX = USBTX; 00021 static PinName const pcRX = USBRX; 00022 00023 /*RS485 MDC*/ 00024 static PinName const mdcTX = PC_10; 00025 static PinName const mdcRX = PC_11; 00026 00027 /*BLDC*/ 00028 static PinName const BLDC1 = PA_10; 00029 static PinName const BLDC2 = PB_3; 00030 static PinName const BLDC3 = PB_5; 00031 00032 /*emergency_stop*/ 00033 static PinName const em_stop = PA_5; 00034 #endif
Generated on Mon Oct 10 2022 09:14:29 by
1.7.2