明石高専ロボ研 mbedライブラリ

Dependencies:   mbed

Dependents:   MDD_L432KC USB2RS485 pathtracking odometry ... more

Revision:
4:39ef4d91dc34
Parent:
3:28c77df7c0b6
Child:
5:a7894e6982ea
diff -r 28c77df7c0b6 -r 39ef4d91dc34 scrp_slave.hpp
--- a/scrp_slave.hpp	Mon Jan 06 11:06:26 2020 +0000
+++ b/scrp_slave.hpp	Fri Jul 24 14:12:15 2020 +0000
@@ -12,6 +12,7 @@
  *example not usb port
  *L432KC : TX = PA_9 , RX = PA_10 , REDE = PA_12 , addr = 0x0803e000
  *F446RE : TX = PC_12 , RX = PD_2 , RDDE = PH_1 , addr = 0x0807ffff
+ *H743ZI : TX = PD_5 , RX = PD_6 , REDE = PD_7 , addr = 0x081ee000
  *<obj>.addCMD(int cmd, bool (*proc)(int rx_data, int& tx_data))
  *でcmdで指定したコマンドを受信したときに呼び出される
  *bool型で引数が(int rx_data, int& tx_data)の関数を指定する。
@@ -19,6 +20,7 @@
 //ScrpSlave slave(SERIAL_TX,SERIAL_RX);
 //ScrpSlave slave(PC_12,PD_2 ,PH_1 ,SERIAL_TX,SERIAL_RX,0x0807ffff);
 //ScrpSlave slave(PA_9 ,PA_10,PA_12,SERIAL_TX,SERIAL_RX,0x0803e000);
+//ScrpSlave slave(PD_5 ,PD_6,PD_7,SERIAL_TX,SERIAL_RX,0x081ee000);
 
 inline int constrain(int x,int a,int b){
     return (x < a ? a : x > b ? b : x);