Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: NHK2017_octopus NHK2017_octopus2 NHK2017_octopus2_drive NHK2017_octopus2_arms
Diff: pin_config.h
- Revision:
- 0:127e75575dc6
- Child:
- 2:6a87fc2f5034
diff -r 000000000000 -r 127e75575dc6 pin_config.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pin_config.h Thu Jul 13 07:59:44 2017 +0000 @@ -0,0 +1,64 @@ +#ifndef PIN_CONFIG +#define PIN_CONFIG + +//Xbee +static PinName const controllerTX = PC_10; +static PinName const controllerRX = PC_11; +//pc +static PinName const usbTX = PA_2; +static PinName const usbRX = PA_3; +//LCD +static PinName const LCDSCL = PB_10; +static PinName const LCDSDA = PB_3; +//MDconnect +static PinName const MDSCL = PB_8; +static PinName const MDSDA = PB_9; +//Debug Switch +static PinName const DebugSW1 = PC_8; +static PinName const DebugSW2 = PC_7; +static PinName const DebugSW3 = PC_6; +//Debug LED +static PinName const DebugLED1 = PC_14; +static PinName const DebugLED2 = PC_15; +static PinName const DebugLED3 = PH_0; +static PinName const DebugLED4 = PH_1; +//5ピンセンサー(上から) +static PinName const Sensor5pin1a = PA_5; +static PinName const Sensor5pin1b = PA_6; +static PinName const Sensor5pin1c = PA_7; +//センサー1(上から) +static PinName const Sensor3pin1a = PA_0; +static PinName const Sensor3pin1b = PA_1; +//センサー2(上から) +static PinName const Sensor3pin2a = PA_4; +static PinName const Sensor3pin2b = PB_0; +//センサー3(上から) +static PinName const Sensor3pin3a = PC_0; +static PinName const Sensor3pin3b = PC_1; +//センサー4(上から) +static PinName const Sensor3pin4a = PC_2; +static PinName const Sensor3pin4b = PC_3; +//センサー5(上から) +static PinName const Sensor3pin5a = PA_14; +static PinName const Sensor3pin5b = PA_15; +//センサー6(上から) +static PinName const Sensor3pin6a = PB_7; +static PinName const Sensor3pin6b = PC_13; +//エアシリンダー1(上から) +static PinName const EMV1a = PA_12; +static PinName const EMV1b = PA_11; +//エアシリンダー2(上から) +static PinName const EMV2a = PB_12; +static PinName const EMV2b = PB_2; +//エアシリンダー3(上から) +static PinName const EMV3a = PB_1; +static PinName const EMV3b = PB_15; +//エアシリンダー4(上から) +static PinName const EMV4a = PB_14; +static PinName const EMV4b = PB_13; +//PWM +static PinName const PWM1 = PB_6; +static PinName const PWM2 = PC_7; +static PinName const PWM3 = PA_9; +static PinName const PWM4 = PA_8; +#endif