2022NHKAチーム(射出、紙飛行機折り、昇降)

Dependencies:   OmniPosition PID R1370 SerialMultiByte Servo ikarashiMDC_2byte_ver mbed omni_wheel

Committer:
nagix
Date:
Mon Oct 10 09:12:26 2022 +0000
Revision:
2:f856cbeb5940
Parent:
0:b0ca7b23bdb5
kikou

Who changed what in which revision?

UserRevisionLine numberNew contents of line
nagix 0:b0ca7b23bdb5 1 #ifndef PIN_CONFIG_H
nagix 0:b0ca7b23bdb5 2 #define PIN_CONFIG_H
nagix 0:b0ca7b23bdb5 3
nagix 0:b0ca7b23bdb5 4 #include "mbed.h"
nagix 0:b0ca7b23bdb5 5
nagix 0:b0ca7b23bdb5 6 /*sub mycon*/
nagix 0:b0ca7b23bdb5 7 static PinName const sub1TX = PC_6;
nagix 0:b0ca7b23bdb5 8 static PinName const sub1RX = PC_7;
nagix 0:b0ca7b23bdb5 9
nagix 0:b0ca7b23bdb5 10 static PinName const sub2TX = PA_0;
nagix 0:b0ca7b23bdb5 11 static PinName const sub2RX = PA_1;
nagix 0:b0ca7b23bdb5 12
nagix 0:b0ca7b23bdb5 13 /*FEP*/
nagix 0:b0ca7b23bdb5 14 static PinName const fepTX = PC_12;
nagix 0:b0ca7b23bdb5 15 static PinName const fepRX = PD_2;
nagix 0:b0ca7b23bdb5 16 static uint8_t const fepad = 4; // 通信相手のアドレス
nagix 0:b0ca7b23bdb5 17
nagix 0:b0ca7b23bdb5 18
nagix 0:b0ca7b23bdb5 19 /*PC*/
nagix 0:b0ca7b23bdb5 20 static PinName const pcTX = USBTX;
nagix 0:b0ca7b23bdb5 21 static PinName const pcRX = USBRX;
nagix 0:b0ca7b23bdb5 22
nagix 0:b0ca7b23bdb5 23 /*RS485 MDC*/
nagix 0:b0ca7b23bdb5 24 static PinName const mdcTX = PC_10;
nagix 0:b0ca7b23bdb5 25 static PinName const mdcRX = PC_11;
nagix 0:b0ca7b23bdb5 26
nagix 0:b0ca7b23bdb5 27 /*BLDC*/
nagix 0:b0ca7b23bdb5 28 static PinName const BLDC1 = PA_10;
nagix 0:b0ca7b23bdb5 29 static PinName const BLDC2 = PB_3;
nagix 0:b0ca7b23bdb5 30 static PinName const BLDC3 = PB_5;
nagix 0:b0ca7b23bdb5 31
nagix 0:b0ca7b23bdb5 32 /*emergency_stop*/
nagix 0:b0ca7b23bdb5 33 static PinName const em_stop = PA_5;
nagix 0:b0ca7b23bdb5 34 #endif