NHK2022Aチームの足回りと機構のセット メインプログラム

Dependencies:   FEP_RX22 OmniPosition PID R1370 SerialMultiByte Servo ikarashiMDC_2byte_ver omni_wheel

Committer:
me33004m
Date:
Tue Oct 11 08:29:14 2022 +0000
Revision:
11:10d3dc96c469
Parent:
7:778eaeae8128
teraterm change

Who changed what in which revision?

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