ClubRobotContest MainBoardVer1

Dependencies:   mbed

PinConfig.h

Committer:
sugai
Date:
2019-12-20
Revision:
3:772ba99eaf85
Parent:
2:1d151fd48b1e

File content as of revision 3:772ba99eaf85:

#ifndef PIN_CONFIG_H
#define PIN_CONFIG_H
//FEP
const PinName FEPTX = PC_10;
const PinName FEPRX = PC_11;
//RS485
const PinName RS485TX = PC_12;
const PinName RS485RX = PD_2;
//PC
const PinName PCTX = PA_2;
const PinName PCRX = PA_3;
//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;
//EmergencyStopSwitch
const PinName ESS = PC_9;

#endif