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@8:ec3d8fe2248d, 2017-09-07 (annotated)
- Committer:
- sugai
- Date:
- Thu Sep 07 04:35:44 2017 +0000
- Revision:
- 8:ec3d8fe2248d
- Parent:
- 6:ee450f68d539
- Child:
- 9:51ca96f4d098
It's probably the last renewal. If I make a mistake each other, I'm sorry.
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 | 8:ec3d8fe2248d | 12 | //BlackMDconnect |
| sugai | 0:127e75575dc6 | 13 | static PinName const MDSCL = PB_8; |
| sugai | 0:127e75575dc6 | 14 | static PinName const MDSDA = PB_9; |
| sugai | 8:ec3d8fe2248d | 15 | //GreenMDconnect |
| sugai | 8:ec3d8fe2248d | 16 | static PinName const MDTX = PA_0; |
| sugai | 8:ec3d8fe2248d | 17 | static PinName const MDRX = PA_1; |
| sugai | 0:127e75575dc6 | 18 | //Debug LED |
| sugai | 8:ec3d8fe2248d | 19 | static PinName const DebugLED1 = PA_13; |
| sugai | 8:ec3d8fe2248d | 20 | static PinName const DebugLED2 = PA_14; |
| sugai | 8:ec3d8fe2248d | 21 | static PinName const DebugLED3 = PA_15; |
| sugai | 8:ec3d8fe2248d | 22 | static PinName const DebugLED4 = PB_7; |
| sugai | 8:ec3d8fe2248d | 23 | static PinName const DebugLED5 = PC_13; |
| sugai | 8:ec3d8fe2248d | 24 | static PinName const DebugLED6 = PC_14; |
| sugai | 8:ec3d8fe2248d | 25 | static PinName const DebugLED7 = PC_15; |
| sugai | 8:ec3d8fe2248d | 26 | static PinName const DebugLED8 = PH_0; |
| sugai | 0:127e75575dc6 | 27 | //センサー1(上から) |
| sugai | 8:ec3d8fe2248d | 28 | static PinName const Sensor4pin1a = PA_4; |
| sugai | 8:ec3d8fe2248d | 29 | static PinName const Sensor4pin1b = PB_0; |
| sugai | 0:127e75575dc6 | 30 | //センサー2(上から) |
| sugai | 8:ec3d8fe2248d | 31 | static PinName const Sensor4pin2a = PC_0; |
| sugai | 8:ec3d8fe2248d | 32 | static PinName const Sensor4pin2b = PC_1; |
| sugai | 0:127e75575dc6 | 33 | //センサー3(上から) |
| sugai | 8:ec3d8fe2248d | 34 | static PinName const Sensor3pin3a = PC_2; |
| sugai | 4:307bd3b5dcba | 35 | //センサー4(上から) |
| sugai | 8:ec3d8fe2248d | 36 | static PinName const Sensor3pin3b = PC_3; |
| sugai | 0:127e75575dc6 | 37 | //PWM |
| sugai | 4:307bd3b5dcba | 38 | static PinName const PWM1 = PA_5; |
| sugai | 4:307bd3b5dcba | 39 | static PinName const PWM2 = PA_6; |
| sugai | 4:307bd3b5dcba | 40 | static PinName const PWM3 = PA_7; |
| sugai | 4:307bd3b5dcba | 41 | static PinName const PWM4 = PB_6; |
| sugai | 4:307bd3b5dcba | 42 | static PinName const PWM5 = PC_7; |
| sugai | 4:307bd3b5dcba | 43 | static PinName const PWM6 = PA_9; |
| sugai | 4:307bd3b5dcba | 44 | static PinName const PWM8 = PB_10; |
| sugai | 4:307bd3b5dcba | 45 | static PinName const PWM10 = PB_5; |
| sugai | 8:ec3d8fe2248d | 46 | //MD STOP |
| sugai | 8:ec3d8fe2248d | 47 | static PinName const MDstop = PB_3; |
| sakaiR | 5:9ae39f928cb1 | 48 | //HMC |
| uchitake |
6:ee450f68d539 | 49 | static PinName const HMCsda = PB_4; |
| sakaiR | 5:9ae39f928cb1 | 50 | static PinName const HMCscl = PA_8; |
| sakaiR | 5:9ae39f928cb1 | 51 | //solenoid digital out |
| sakaiR | 5:9ae39f928cb1 | 52 | static PinName const solenoidPin = PA_10; |
| sugai | 0:127e75575dc6 | 53 | #endif |