NagaokaRoboticsClub_mbedTeam
/
2022A_FEPRX_TokiPS4
FEP RX program TokiPS4
pinconfig.h@0:c2cc8f4e2ba0, 2022-10-08 (annotated)
- Committer:
- watarushimoda
- Date:
- Sat Oct 08 10:20:18 2022 +0000
- Revision:
- 0:c2cc8f4e2ba0
FEP RX program TokiPS4
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
watarushimoda | 0:c2cc8f4e2ba0 | 1 | #ifndef PIN_CONFIG_H |
watarushimoda | 0:c2cc8f4e2ba0 | 2 | #define PIN_CONFIG_H |
watarushimoda | 0:c2cc8f4e2ba0 | 3 | |
watarushimoda | 0:c2cc8f4e2ba0 | 4 | #include "mbed.h" |
watarushimoda | 0:c2cc8f4e2ba0 | 5 | |
watarushimoda | 0:c2cc8f4e2ba0 | 6 | /*FEP*/ |
watarushimoda | 0:c2cc8f4e2ba0 | 7 | static PinName const fepTX = PC_12; |
watarushimoda | 0:c2cc8f4e2ba0 | 8 | static PinName const fepRX = PD_2; |
watarushimoda | 0:c2cc8f4e2ba0 | 9 | static uint8_t const fepad = 004; // 通信相手のアドレス |
watarushimoda | 0:c2cc8f4e2ba0 | 10 | |
watarushimoda | 0:c2cc8f4e2ba0 | 11 | /*PC*/ |
watarushimoda | 0:c2cc8f4e2ba0 | 12 | static PinName const pcTX = USBTX; |
watarushimoda | 0:c2cc8f4e2ba0 | 13 | static PinName const pcRX = USBRX; |
watarushimoda | 0:c2cc8f4e2ba0 | 14 | |
watarushimoda | 0:c2cc8f4e2ba0 | 15 | #endif |