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: 2022_NHK_B_canTR FEP_RX22 QEI ikarashiMDC_2byte_ver mbed HOSOKIkikou R1370 SEKIkikou
Diff: pinconfig.h
- Revision:
- 0:877aeb04390a
- Child:
- 1:78fc05fff36a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pinconfig.h Thu Sep 29 08:18:07 2022 +0000 @@ -0,0 +1,35 @@ +#ifndef PIN_CONFIG_H +#define PIN_CONFIG_H + +#include "mbed.h" + +/*stop*/ +static PinName const stop_pin = PA_5; + +/*FEP*/ +static PinName const fepTX = PC_10; +static PinName const fepRX = PC_11; +static uint8_t const fepad = 001; // 通信相手のアドレス + +/*PC*/ +static PinName const pcTX = USBTX; +static PinName const pcRX = USBRX; + +/*motor serial*/ +static PinName const motorTX = PC_10; +static PinName const motorRX = PC_11; + +/*encoder*/ +static PinName const encoder1_A = PB_6; +static PinName const encoder1_B = PB_7; + +static PinName const encoder2_A = PA_6; +static PinName const encoder2_B = PA_7; + +static PinName const encoder3_A = PC_3; +static PinName const encoder3_B = PC_2; + +static PinName const encoder4_A = PA_1; +static PinName const encoder4_B = PA_0; + +#endif \ No newline at end of file