
2022 NHK Bteam main totyuu
Dependencies: HOSOKIkikou FEP_RX22 QEI R1370 ikarashiMDC_2byte_ver mbed 2022_NHK_B_canTR PID SEKIkikou
Revision 2:ea17f9e04972, committed 2022-09-30
- Comitter:
- umekou
- Date:
- Fri Sep 30 05:31:57 2022 +0000
- Parent:
- 1:78fc05fff36a
- Child:
- 3:75dae8deb5f3
- Commit message:
- Add QEI
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/QEI.lib Fri Sep 30 05:31:57 2022 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/teams/NHK-Robocon2016_Nagaoka_B_Team/code/QEI/#fe23b32e62ca
--- a/main.cpp Thu Sep 29 09:24:21 2022 +0000 +++ b/main.cpp Fri Sep 30 05:31:57 2022 +0000 @@ -4,7 +4,7 @@ #include "ikarashiMDC.h" Bcon mycon(fepTX, fepRX, fepad); -Serial pc(pcTX, pcRX, 115200); +Serial pc(USBTX, USBRX, 115200); Serial serial(motorTX, motorRX, 115200); DigitalOut stop(stop_pin); DigitalOut led(LED2);
--- a/pinconfig.h Thu Sep 29 09:24:21 2022 +0000 +++ b/pinconfig.h Fri Sep 30 05:31:57 2022 +0000 @@ -11,10 +11,6 @@ static PinName const fepRX = PA_10; static uint8_t const fepad = 005; // 通信相手のアドレス -/*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;