ClubRobotContest MainBoardVer1

Dependencies:   mbed

Committer:
sugai
Date:
Fri Dec 20 07:43:26 2019 +0000
Revision:
2:1d151fd48b1e
Parent:
1:2cc4ff8ca2d2
Child:
3:772ba99eaf85
ver2.1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sugai 0:2951735262d9 1 #ifndef PIN_CONFIG_H
sugai 0:2951735262d9 2 #define PIN_CONFIG_H
sugai 0:2951735262d9 3 //FEP
sugai 0:2951735262d9 4 const PinName FEPTX = PC_10;
sugai 0:2951735262d9 5 const PinName FEPRX = PC_11;
sugai 2:1d151fd48b1e 6 //RS485
sugai 2:1d151fd48b1e 7 const PinName RS485TX = PC_12;
sugai 2:1d151fd48b1e 8 const PinName RS485RX = PD_2;
sugai 0:2951735262d9 9 //PC
sugai 2:1d151fd48b1e 10 const PinName PCTX = PA_2;
sugai 2:1d151fd48b1e 11 const PinName PCRX = PA_3;
sugai 0:2951735262d9 12 //R1370
sugai 0:2951735262d9 13 const PinName R1370TX = PC_6;
sugai 1:2cc4ff8ca2d2 14 const PinName R1370RX = PC_7;
sugai 0:2951735262d9 15 const PinName R1370RST = PC_8;
sugai 0:2951735262d9 16 //RotaryEncoder
sugai 1:2cc4ff8ca2d2 17 const PinName Encoder1A = PA_1;
sugai 1:2cc4ff8ca2d2 18 const PinName Encoder1B = PA_0;
sugai 0:2951735262d9 19 const PinName Encoder2A = PA_7;
sugai 0:2951735262d9 20 const PinName Encoder2B = PA_6;
sugai 0:2951735262d9 21 //DebugSW
sugai 0:2951735262d9 22 const PinName DebugSW1 = PA_8;
sugai 0:2951735262d9 23 const PinName DebugSW2 = PB_10;
sugai 0:2951735262d9 24 const PinName DebugSW3 = PB_4;
sugai 0:2951735262d9 25 //DebugLED
sugai 0:2951735262d9 26 const PinName DebugLED1 = PB_5;
sugai 0:2951735262d9 27 const PinName DebugLED2 = PB_3;
sugai 0:2951735262d9 28 const PinName DebugLED3 = PA_10;
sugai 0:2951735262d9 29
sugai 1:2cc4ff8ca2d2 30 //SolenoidValve
sugai 1:2cc4ff8ca2d2 31 const PinName Valve1-A = PB_1;
sugai 1:2cc4ff8ca2d2 32 const PinName Valve1-B = PB_2;
sugai 1:2cc4ff8ca2d2 33 const PinName Valve2-A = PB_14;
sugai 1:2cc4ff8ca2d2 34 const PinName Valve2-B = PB_15;
sugai 1:2cc4ff8ca2d2 35
sugai 0:2951735262d9 36 #endif