arduino-libraries/ArduinoModbus

Documentation Check

AmbroiseS opened this issue · 1 comments

Could you confirm these are corrects in ModbusServer.h. All others are 1 on success and 0 on failure .

/**
* Configure the servers coils.
*
* @param startAddress start address of coils
* @param nb number of coils to configure
*
* @return 0 on success, 1 on failure
*/
int configureCoils(int startAddress, int nb);
/**
* Configure the servers discrete inputs.
*
* @param startAddress start address of discrete inputs
* @param nb number of discrete inputs to configure
*
* @return 0 on success, 1 on failure
*/
int configureDiscreteInputs(int startAddress, int nb);

Same as in #120.