Open linhartjar opened 4 years ago
It is possible to write an example to MultiHoldingRegister, it reports me an error.
I used it like this and it works. What error do you get? uint8_t buf[4] = {getHigh(qSetPoint), getLow(qSetPoint), 0, modbusWatchdog}; modbus.writeMultHoldingRegisters(SLAVE_ID, Q_CUR_SETPOINT_ADDR, 2, buf);
It is possible to write an example to MultiHoldingRegister, it reports me an error.