Port of Modbus library to Due