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.
Dependencies: FEP_TX22 SerialArduino mbed
pinconfig.h@2:81cf98f7f721, 2022-10-08 (annotated)
- Committer:
- watarushimoda
- Date:
- Sat Oct 08 04:08:26 2022 +0000
- Revision:
- 2:81cf98f7f721
- Parent:
- 0:df41f530dbd9
FEP TX program TokiPS4
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
piroro4560 | 0:df41f530dbd9 | 1 | #ifndef PIN_CONFIG_H |
piroro4560 | 0:df41f530dbd9 | 2 | #define PIN_CONFIG_H |
piroro4560 | 0:df41f530dbd9 | 3 | |
piroro4560 | 0:df41f530dbd9 | 4 | #include "mbed.h" |
piroro4560 | 0:df41f530dbd9 | 5 | |
piroro4560 | 0:df41f530dbd9 | 6 | /*FEP*/ |
piroro4560 | 0:df41f530dbd9 | 7 | static PinName const fepTX = PB_3; |
piroro4560 | 0:df41f530dbd9 | 8 | static PinName const fepRX = PB_4; |
piroro4560 | 0:df41f530dbd9 | 9 | static uint8_t const fepad = 005; // 通信相手のアドレス |
piroro4560 | 0:df41f530dbd9 | 10 | |
piroro4560 | 0:df41f530dbd9 | 11 | /*PC*/ |
piroro4560 | 0:df41f530dbd9 | 12 | static PinName const pcTX = USBTX; |
piroro4560 | 0:df41f530dbd9 | 13 | static PinName const pcRX = USBRX; |
piroro4560 | 0:df41f530dbd9 | 14 | |
piroro4560 | 0:df41f530dbd9 | 15 | /*arduino*/ |
piroro4560 | 0:df41f530dbd9 | 16 | static PinName const TXino = PB_6; |
piroro4560 | 0:df41f530dbd9 | 17 | static PinName const RXino = PB_7; |
piroro4560 | 0:df41f530dbd9 | 18 | |
watarushimoda | 2:81cf98f7f721 | 19 | /*VOLUME*/ |
watarushimoda | 2:81cf98f7f721 | 20 | static PinName const vol1 = PA_4; |
watarushimoda | 2:81cf98f7f721 | 21 | static PinName const vol2 = PA_1; |
watarushimoda | 2:81cf98f7f721 | 22 | static PinName const vol3 = PA_0; |
watarushimoda | 2:81cf98f7f721 | 23 | |
watarushimoda | 2:81cf98f7f721 | 24 | /*遠隔非常停止*/ |
watarushimoda | 2:81cf98f7f721 | 25 | static PinName const em_stop = PB_1; |
watarushimoda | 2:81cf98f7f721 | 26 | |
watarushimoda | 2:81cf98f7f721 | 27 | /*TOGGLE*/ |
watarushimoda | 2:81cf98f7f721 | 28 | static PinName const tgl1 = PA_8; |
watarushimoda | 2:81cf98f7f721 | 29 | static PinName const tgl2 = PF_1; |
watarushimoda | 2:81cf98f7f721 | 30 | static PinName const tgl3 = PF_0; |
watarushimoda | 2:81cf98f7f721 | 31 | |
piroro4560 | 0:df41f530dbd9 | 32 | #endif |