未完成

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

Committer:
tanabe2000
Date:
Fri Oct 12 04:40:56 2018 +0000
Revision:
0:7822f4172b0c
????????;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tanabe2000 0:7822f4172b0c 1 #ifndef PIN_CONFIG
tanabe2000 0:7822f4172b0c 2 #define PIN_CONFIG
tanabe2000 0:7822f4172b0c 3
tanabe2000 0:7822f4172b0c 4
tanabe2000 0:7822f4172b0c 5 #define slidorparamotor 1000-127
tanabe2000 0:7822f4172b0c 6 /*MD接続*/
tanabe2000 0:7822f4172b0c 7 static PinName const MDTX = PC_10;
tanabe2000 0:7822f4172b0c 8 static PinName const MDRX = PC_11;
tanabe2000 0:7822f4172b0c 9
tanabe2000 0:7822f4172b0c 10 /*FEP接続*/
tanabe2000 0:7822f4172b0c 11 static PinName const fepTX = PA_0;
tanabe2000 0:7822f4172b0c 12 static PinName const fepRX = PA_1;
tanabe2000 0:7822f4172b0c 13
tanabe2000 0:7822f4172b0c 14 /*ライン基盤接続*/
tanabe2000 0:7822f4172b0c 15 static PinName const LineTX = PC_12;
tanabe2000 0:7822f4172b0c 16 static PinName const LineRX = PD_2;
tanabe2000 0:7822f4172b0c 17
tanabe2000 0:7822f4172b0c 18 /*計測輪接続*/
tanabe2000 0:7822f4172b0c 19 static PinName const measuringTX = PC_6;
tanabe2000 0:7822f4172b0c 20 static PinName const measuringRX = PC_7;
tanabe2000 0:7822f4172b0c 21
tanabe2000 0:7822f4172b0c 22 /*encoder*/
tanabe2000 0:7822f4172b0c 23 static PinName const loadingencoder1_1 = PA_6;
tanabe2000 0:7822f4172b0c 24 static PinName const loadingencoder1_2 = PA_7;
tanabe2000 0:7822f4172b0c 25
tanabe2000 0:7822f4172b0c 26 /*リミットスイッチ接続*/
tanabe2000 0:7822f4172b0c 27 static PinName const limitswich1_1 = PB_10;
tanabe2000 0:7822f4172b0c 28 static PinName const limitswich1_2 = PA_8;
tanabe2000 0:7822f4172b0c 29 static PinName const limitswich1_3 = PA_9;
tanabe2000 0:7822f4172b0c 30
tanabe2000 0:7822f4172b0c 31 static PinName const limitswich2_1 = PA_4;
tanabe2000 0:7822f4172b0c 32 static PinName const limitswich2_2 = PB_0;
tanabe2000 0:7822f4172b0c 33 static PinName const limitswich2_3 = PC_1;
tanabe2000 0:7822f4172b0c 34
tanabe2000 0:7822f4172b0c 35 /*電磁弁接続*/
tanabe2000 0:7822f4172b0c 36 static PinName const solenoidValve1_1 = PB_1;
tanabe2000 0:7822f4172b0c 37 static PinName const solenoidValve1_2 = PB_15;
tanabe2000 0:7822f4172b0c 38
tanabe2000 0:7822f4172b0c 39 static PinName const solenoidValve2_1 = PB_14;
tanabe2000 0:7822f4172b0c 40 static PinName const solenoidValve2_2 = PB_13;
tanabe2000 0:7822f4172b0c 41
tanabe2000 0:7822f4172b0c 42 static PinName const solenoidValve3_1 = PC_5;
tanabe2000 0:7822f4172b0c 43 static PinName const solenoidValve3_2 = PA_12;
tanabe2000 0:7822f4172b0c 44
tanabe2000 0:7822f4172b0c 45 static PinName const solenoidValve4_1 = PA_11;
tanabe2000 0:7822f4172b0c 46 static PinName const solenoidValve4_2 = PB_12;
tanabe2000 0:7822f4172b0c 47
tanabe2000 0:7822f4172b0c 48 /*ブザー接続*/
tanabe2000 0:7822f4172b0c 49 static PinName const buzzer = PC_13;
tanabe2000 0:7822f4172b0c 50 /*start*/
tanabe2000 0:7822f4172b0c 51 //static PinName const start = PC_4;
tanabe2000 0:7822f4172b0c 52 static PinName const start = PB_2;
tanabe2000 0:7822f4172b0c 53
tanabe2000 0:7822f4172b0c 54
tanabe2000 0:7822f4172b0c 55
tanabe2000 0:7822f4172b0c 56 #endif