ClubRobotContest MainBoardVer1

Dependencies:   mbed

Committer:
sugai
Date:
Fri Dec 13 09:42:33 2019 +0000
Revision:
1:2cc4ff8ca2d2
Parent:
0:2951735262d9
Child:
2:1d151fd48b1e
ver2

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 0:2951735262d9 6 //PC
sugai 0:2951735262d9 7 const PinName PCTX = PC_12;
sugai 0:2951735262d9 8 const PinName PCRX = PD_2;
sugai 0:2951735262d9 9 //R1370
sugai 0:2951735262d9 10 const PinName R1370TX = PC_6;
sugai 1:2cc4ff8ca2d2 11 const PinName R1370RX = PC_7;
sugai 0:2951735262d9 12 const PinName R1370RST = PC_8;
sugai 0:2951735262d9 13 //RotaryEncoder
sugai 1:2cc4ff8ca2d2 14 const PinName Encoder1A = PA_1;
sugai 1:2cc4ff8ca2d2 15 const PinName Encoder1B = PA_0;
sugai 0:2951735262d9 16 const PinName Encoder2A = PA_7;
sugai 0:2951735262d9 17 const PinName Encoder2B = PA_6;
sugai 0:2951735262d9 18 //DebugSW
sugai 0:2951735262d9 19 const PinName DebugSW1 = PA_8;
sugai 0:2951735262d9 20 const PinName DebugSW2 = PB_10;
sugai 0:2951735262d9 21 const PinName DebugSW3 = PB_4;
sugai 0:2951735262d9 22 //DebugLED
sugai 0:2951735262d9 23 const PinName DebugLED1 = PB_5;
sugai 0:2951735262d9 24 const PinName DebugLED2 = PB_3;
sugai 0:2951735262d9 25 const PinName DebugLED3 = PA_10;
sugai 0:2951735262d9 26
sugai 1:2cc4ff8ca2d2 27 //SolenoidValve
sugai 1:2cc4ff8ca2d2 28 const PinName Valve1-A = PB_1;
sugai 1:2cc4ff8ca2d2 29 const PinName Valve1-B = PB_2;
sugai 1:2cc4ff8ca2d2 30 const PinName Valve2-A = PB_14;
sugai 1:2cc4ff8ca2d2 31 const PinName Valve2-B = PB_15;
sugai 1:2cc4ff8ca2d2 32
sugai 0:2951735262d9 33 #endif