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
pin_config.h@4:307bd3b5dcba, 2017-08-28 (annotated)
- Committer:
- sugai
- Date:
- Mon Aug 28 05:13:58 2017 +0000
- Revision:
- 4:307bd3b5dcba
- Parent:
- 3:8775d5a808a6
- Child:
- 5:9ae39f928cb1
- Child:
- 7:67b17afd3d28
sushi
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| sugai | 0:127e75575dc6 | 1 | #ifndef PIN_CONFIG |
| sugai | 0:127e75575dc6 | 2 | #define PIN_CONFIG |
| sugai | 0:127e75575dc6 | 3 | |
| sugai | 0:127e75575dc6 | 4 | //Xbee |
| sugai | 4:307bd3b5dcba | 5 | static PinName const XBee1TX = PC_10; |
| sugai | 4:307bd3b5dcba | 6 | static PinName const XBee1RX = PC_11; |
| sugai | 4:307bd3b5dcba | 7 | static PinName const XBee2TX = PC_12; |
| sugai | 4:307bd3b5dcba | 8 | static PinName const XBee2RX = PD_2; |
| sugai | 0:127e75575dc6 | 9 | //pc |
| sugai | 0:127e75575dc6 | 10 | static PinName const usbTX = PA_2; |
| sugai | 0:127e75575dc6 | 11 | static PinName const usbRX = PA_3; |
| sugai | 0:127e75575dc6 | 12 | //MDconnect |
| sugai | 0:127e75575dc6 | 13 | static PinName const MDSCL = PB_8; |
| sugai | 0:127e75575dc6 | 14 | static PinName const MDSDA = PB_9; |
| sugai | 0:127e75575dc6 | 15 | //Debug LED |
| sugai | 0:127e75575dc6 | 16 | static PinName const DebugLED1 = PC_14; |
| sugai | 0:127e75575dc6 | 17 | static PinName const DebugLED2 = PC_15; |
| sugai | 0:127e75575dc6 | 18 | static PinName const DebugLED3 = PH_0; |
| sugai | 0:127e75575dc6 | 19 | static PinName const DebugLED4 = PH_1; |
| sugai | 0:127e75575dc6 | 20 | //センサー1(上から) |
| sugai | 4:307bd3b5dcba | 21 | static PinName const Sensor4pin1a = PA_0; |
| sugai | 4:307bd3b5dcba | 22 | static PinName const Sensor4pin1b = PA_1; |
| sugai | 0:127e75575dc6 | 23 | //センサー2(上から) |
| sugai | 4:307bd3b5dcba | 24 | static PinName const Sensor4pin2a = PA_4; |
| sugai | 4:307bd3b5dcba | 25 | static PinName const Sensor4pin2b = PB_0; |
| sugai | 0:127e75575dc6 | 26 | //センサー3(上から) |
| sugai | 0:127e75575dc6 | 27 | static PinName const Sensor3pin3a = PC_0; |
| sugai | 4:307bd3b5dcba | 28 | //センサー4(上から) |
| sugai | 0:127e75575dc6 | 29 | static PinName const Sensor3pin3b = PC_1; |
| sugai | 0:127e75575dc6 | 30 | //センサー5(上から) |
| sugai | 4:307bd3b5dcba | 31 | static PinName const Sensor3pin4a = PC_2; |
| sugai | 0:127e75575dc6 | 32 | //センサー6(上から) |
| sugai | 4:307bd3b5dcba | 33 | static PinName const Sensor3pin4b = PC_3; |
| sugai | 4:307bd3b5dcba | 34 | //センサー7(上から) |
| sugai | 4:307bd3b5dcba | 35 | static PinName const Sensor4pin5a = PA_14; |
| sugai | 4:307bd3b5dcba | 36 | static PinName const Sensor4pin5b = PA_15; |
| sugai | 4:307bd3b5dcba | 37 | //センサー8(上から) |
| sugai | 4:307bd3b5dcba | 38 | static PinName const Sensor4pin6a = PB_7; |
| sugai | 4:307bd3b5dcba | 39 | static PinName const Sensor4pin6b = PC_13; |
| sugai | 0:127e75575dc6 | 40 | //エアシリンダー1(上から) |
| sugai | 0:127e75575dc6 | 41 | static PinName const EMV1a = PA_12; |
| sugai | 0:127e75575dc6 | 42 | static PinName const EMV1b = PA_11; |
| sugai | 0:127e75575dc6 | 43 | //エアシリンダー2(上から) |
| sugai | 0:127e75575dc6 | 44 | static PinName const EMV2a = PB_12; |
| sugai | 0:127e75575dc6 | 45 | static PinName const EMV2b = PB_2; |
| sugai | 0:127e75575dc6 | 46 | //エアシリンダー3(上から) |
| sugai | 0:127e75575dc6 | 47 | static PinName const EMV3a = PB_1; |
| sugai | 0:127e75575dc6 | 48 | static PinName const EMV3b = PB_15; |
| sugai | 0:127e75575dc6 | 49 | //エアシリンダー4(上から) |
| sugai | 0:127e75575dc6 | 50 | static PinName const EMV4a = PB_14; |
| sugai | 0:127e75575dc6 | 51 | static PinName const EMV4b = PB_13; |
| sugai | 0:127e75575dc6 | 52 | //PWM |
| sugai | 4:307bd3b5dcba | 53 | static PinName const PWM1 = PA_5; |
| sugai | 4:307bd3b5dcba | 54 | static PinName const PWM2 = PA_6; |
| sugai | 4:307bd3b5dcba | 55 | static PinName const PWM3 = PA_7; |
| sugai | 4:307bd3b5dcba | 56 | static PinName const PWM4 = PB_6; |
| sugai | 4:307bd3b5dcba | 57 | static PinName const PWM5 = PC_7; |
| sugai | 4:307bd3b5dcba | 58 | static PinName const PWM6 = PA_9; |
| sugai | 4:307bd3b5dcba | 59 | static PinName const HMCscl = PA_8; |
| sugai | 4:307bd3b5dcba | 60 | static PinName const PWM8 = PB_10; |
| sakaiR | 2:6a87fc2f5034 | 61 | static PinName const HMCsda = PB_4; |
| sugai | 4:307bd3b5dcba | 62 | static PinName const PWM10 = PB_5; |
| sugai | 4:307bd3b5dcba | 63 | static PinName const PWM11 = PB_3; |
| sugai | 4:307bd3b5dcba | 64 | static PinName const PWM12 = PA_10; |
| sugai | 0:127e75575dc6 | 65 | #endif |