![](/media/cache/profiles/IMG_4892.JPG.50x50_q85.jpg)
前のやつです。
Dependencies: FEP OmniPosition PID QEI R1307 TFmini ikarashiMDC linesSnsor omni_wheel
pin_config.h@5:c7643ae5835f, 2018-09-11 (annotated)
- Committer:
- tanabe2000
- Date:
- Tue Sep 11 15:35:59 2018 +0000
- Revision:
- 5:c7643ae5835f
- Parent:
- 0:834af86e3435
changing coments
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tanabe2000 | 0:834af86e3435 | 1 | #ifndef PIN_CONFIG |
tanabe2000 | 0:834af86e3435 | 2 | #define PIN_CONFIG |
tanabe2000 | 0:834af86e3435 | 3 | |
tanabe2000 | 0:834af86e3435 | 4 | //Xbee |
tanabe2000 | 0:834af86e3435 | 5 | //static PinName const XBee1TX = PC_10; |
tanabe2000 | 0:834af86e3435 | 6 | //static PinName const XBee1RX = PC_11; |
tanabe2000 | 0:834af86e3435 | 7 | static PinName const XBee2TX = PC_12; |
tanabe2000 | 0:834af86e3435 | 8 | static PinName const XBee2RX = PD_2; |
tanabe2000 | 0:834af86e3435 | 9 | //pc |
tanabe2000 | 0:834af86e3435 | 10 | static PinName const usbTX = PA_2; |
tanabe2000 | 0:834af86e3435 | 11 | static PinName const usbRX = PA_3; |
tanabe2000 | 0:834af86e3435 | 12 | //MDconnect |
tanabe2000 | 0:834af86e3435 | 13 | static PinName const MDTX = PC_10; |
tanabe2000 | 0:834af86e3435 | 14 | static PinName const MDRX = PC_11; |
tanabe2000 | 0:834af86e3435 | 15 | //PWM(Limit Switch) |
tanabe2000 | 0:834af86e3435 | 16 | static PinName const PWM1 = PA_6; |
tanabe2000 | 0:834af86e3435 | 17 | static PinName const PWM2 = PA_7; |
tanabe2000 | 0:834af86e3435 | 18 | static PinName const PWM3 = PB_6; |
tanabe2000 | 0:834af86e3435 | 19 | static PinName const PWM6 = PA_9; |
tanabe2000 | 0:834af86e3435 | 20 | static PinName const PWM8 = PB_10; |
tanabe2000 | 0:834af86e3435 | 21 | static PinName const PWM10 = PB_5; |
tanabe2000 | 0:834af86e3435 | 22 | //Limit Switch |
tanabe2000 | 0:834af86e3435 | 23 | static PinName const LIMIT0 = PA_6; |
tanabe2000 | 0:834af86e3435 | 24 | static PinName const LIMIT1 = PA_7; |
tanabe2000 | 0:834af86e3435 | 25 | static PinName const LIMIT2 = PB_6; |
tanabe2000 | 0:834af86e3435 | 26 | static PinName const LIMIT3 = PA_9; |
tanabe2000 | 0:834af86e3435 | 27 | static PinName const LIMIT4 = PB_10; |
tanabe2000 | 0:834af86e3435 | 28 | static PinName const LIMIT5 = PB_5; |
tanabe2000 | 0:834af86e3435 | 29 | //MD STOP |
tanabe2000 | 0:834af86e3435 | 30 | static PinName const MDstop = PB_3; |
tanabe2000 | 0:834af86e3435 | 31 | //MD STOP RESERVE |
tanabe2000 | 0:834af86e3435 | 32 | static PinName const MDstopRESERVE = PA_10; |
tanabe2000 | 0:834af86e3435 | 33 | //R1370 |
tanabe2000 | 0:834af86e3435 | 34 | static PinName const R1370TX = PC_6; |
tanabe2000 | 0:834af86e3435 | 35 | static PinName const R1370RX = PC_7; |
tanabe2000 | 0:834af86e3435 | 36 | //RESERVE I/O |
tanabe2000 | 0:834af86e3435 | 37 | static PinName const RESERVE0 = PB_2; |
tanabe2000 | 0:834af86e3435 | 38 | static PinName const RESERVE1 = PB_1; |
tanabe2000 | 0:834af86e3435 | 39 | static PinName const RESERVE2 = PB_15; |
tanabe2000 | 0:834af86e3435 | 40 | static PinName const RESERVE3 = PB_14; |
tanabe2000 | 0:834af86e3435 | 41 | static PinName const RESERVE4 = PB_13; |
tanabe2000 | 0:834af86e3435 | 42 | static PinName const RESERVE5 = PC_4; |
tanabe2000 | 0:834af86e3435 | 43 | |
tanabe2000 | 0:834af86e3435 | 44 | static PinName const air1_0 = PB_5; |
tanabe2000 | 0:834af86e3435 | 45 | static PinName const air1_1 = PB_14; |
tanabe2000 | 0:834af86e3435 | 46 | static PinName const air2_0 = PB_3; |
tanabe2000 | 0:834af86e3435 | 47 | static PinName const air2_1 = PB_13; |
tanabe2000 | 0:834af86e3435 | 48 | #endif |