未完成

Dependencies:   linemiconget petbottle_Loadin5port Kinect OmniPosition PID QEI led R1307 S-ShapeModel SerialMultiByte TFmini fep2 ikarashiMDC linesSnsor omni_wheel solenoid_valve

pin_config.h

Committer:
tanabe2000
Date:
2018-10-16
Revision:
2:c501f6845500
Parent:
0:7822f4172b0c

File content as of revision 2:c501f6845500:

#ifndef PIN_CONFIG
#define PIN_CONFIG


#define slidorparamotor 1000-127
/*MD接続*/
static PinName const MDTX = PC_10;
static PinName const MDRX = PC_11;

/*FEP接続*/
static PinName const fepTX = PA_0;
static PinName const fepRX = PA_1;

/*ライン基盤接続*/
static PinName const LineTX = PC_12;
static PinName const LineRX = PD_2;

/*計測輪接続*/
static PinName const measuringTX =  PC_6;
static PinName const measuringRX = PC_7;

/*encoder*/
static PinName const loadingencoder1_1 = PA_6;
static PinName const loadingencoder1_2 = PA_7;

/*リミットスイッチ接続*/
static PinName const limitswich1_1 = PB_10;
static PinName const limitswich1_2 = PA_8;
static PinName const limitswich1_3 = PA_9;

static PinName const limitswich2_1 = PA_4;
static PinName const limitswich2_2 = PB_0;
static PinName const limitswich2_3 = PC_1;

/*電磁弁接続*/
static PinName const solenoidValve1_1 = PB_1;
static PinName const solenoidValve1_2 = PB_15;

static PinName const solenoidValve2_1 = PB_14;
static PinName const solenoidValve2_2 = PB_13;

static PinName const solenoidValve3_1 = PC_5;
static PinName const solenoidValve3_2 = PA_12;

static PinName const solenoidValve4_1 = PA_11;
static PinName const solenoidValve4_2 = PB_12;

/*ブザー接続*/
static PinName const buzzer = PC_13;
/*start*/
//static PinName const start = PC_4;
static PinName const start = PB_2;



#endif