change modbus to modbus-tcp
This commit is contained in:
17
project/Core/Inc/modbus-tcp.h
Normal file
17
project/Core/Inc/modbus-tcp.h
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* modbus.h
|
||||
*
|
||||
* Created on: 6 nov. 2023
|
||||
* Author: Obe
|
||||
*/
|
||||
|
||||
#ifndef INC_MODBUS_H_
|
||||
#define INC_MODBUS_H_
|
||||
#define MODBUSPOORT 502 //is the default
|
||||
|
||||
|
||||
#include <tcp.h>
|
||||
|
||||
void modbus_init( void );
|
||||
|
||||
#endif /* INC_MODBUS_H_ */
|
||||
Reference in New Issue
Block a user