Query about Modbus library

Can we use the below library for atmega2560p?

ArduinoModbus - client.holdingRegisterRead()

Description

Perform a “Read Holding Registers” operation for a single holding register.

Syntax

long holdingRegisterRead(int address);
long holdingRegisterRead(int id, int address);

No, you can't.


Ref: ArduinoModbus - Arduino Reference

For 2560, the simplest library in the world would be this: GitHub - smarmengol/Modbus-Master-Slave-for-Arduino: Modbus Master-Slave library for Arduino

As per your reference i didn't get it in my latest version of Arduino IDE(2.2.1). The library only supports 1.0.5 IDE software version

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.