ClubRobotContest MainBoardVer1

Dependencies:   mbed

PinConfig.h

Committer:
sugai
Date:
2019-12-13
Revision:
1:2cc4ff8ca2d2
Parent:
0:2951735262d9
Child:
2:1d151fd48b1e

File content as of revision 1:2cc4ff8ca2d2:

#ifndef PIN_CONFIG_H
#define PIN_CONFIG_H
//FEP
const PinName FEPTX = PC_10;
const PinName FEPRX = PC_11;
//PC
const PinName PCTX = PC_12;
const PinName PCRX = PD_2;
//R1370
const PinName R1370TX = PC_6;
const PinName R1370RX = PC_7;
const PinName R1370RST = PC_8;
//RotaryEncoder
const PinName Encoder1A = PA_1;
const PinName Encoder1B = PA_0;
const PinName Encoder2A = PA_7;
const PinName Encoder2B = PA_6;
//DebugSW
const PinName DebugSW1 = PA_8;
const PinName DebugSW2 = PB_10;
const PinName DebugSW3 = PB_4;
//DebugLED
const PinName DebugLED1 = PB_5;
const PinName DebugLED2 = PB_3;
const PinName DebugLED3 = PA_10;

//SolenoidValve
const PinName Valve1-A = PB_1;
const PinName Valve1-B = PB_2;
const PinName Valve2-A = PB_14;
const PinName Valve2-B = PB_15;

#endif