mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-01-11 21:31:02 +01:00
tidy up IO_Modbus some more
This commit is contained in:
parent
6df1774f17
commit
5d219044f2
15
IO_Modbus.h
15
IO_Modbus.h
@ -143,21 +143,6 @@ enum ModbusRTUMasterError : uint8_t {
|
|||||||
MODBUS_RTU_MASTER_UNEXPECTED_QUANTITY = 15
|
MODBUS_RTU_MASTER_UNEXPECTED_QUANTITY = 15
|
||||||
};
|
};
|
||||||
|
|
||||||
class ModbusRTUMaster {
|
|
||||||
public:
|
|
||||||
ModbusRTUMaster(Stream& serial, VPIN dePin = VPIN_NONE, VPIN rePin = VPIN_NONE);
|
|
||||||
|
|
||||||
void begin(unsigned long baud, uint32_t config = SERIAL_8N1);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private:
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
* Modbusnode class
|
* Modbusnode class
|
||||||
|
Loading…
Reference in New Issue
Block a user