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

Dependencies:   FEP_RX22 OmniPosition PID R1370 SerialMultiByte Servo ikarashiMDC_2byte_ver omni_wheel

pinconfig.h

Committer:
me33004m
Date:
20 months ago
Revision:
11:10d3dc96c469
Parent:
7:778eaeae8128

File content as of revision 11:10d3dc96c469:

#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