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: HOSOKIkikou FEP_RX22 QEI R1370 ikarashiMDC_2byte_ver mbed 2022_NHK_B_canTR PID SEKIkikou
Diff: pinconfig.h
- Revision:
- 4:3c04f88a8cd8
- Parent:
- 2:ea17f9e04972
- Child:
- 5:2934a132d594
--- a/pinconfig.h Fri Sep 30 06:28:25 2022 +0000 +++ b/pinconfig.h Sat Oct 08 08:31:07 2022 +0000 @@ -7,23 +7,26 @@ static PinName const stop_pin = PA_5; /*FEP*/ + static PinName const fepTX = PA_9; static PinName const fepRX = PA_10; -static uint8_t const fepad = 005; // 通信相手のアドレス +static uint8_t const fepad = 20; // 通信相手のアドレス /*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 encoder1_A = PB_2; +static PinName const encoder1_B = PB_1; +使えない +*/ 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 encoder3_A = PB_13; +static PinName const encoder3_B = PB_15; static PinName const encoder4_A = PA_1; static PinName const encoder4_B = PA_0;