ArduinoModbus - modbusServer.configureDiscreteInputs()

Description

Configure the servers discrete inputs.

Syntax

int configureDiscreteInputs(int startAddress, int nb);

Parameters

  • startAddress - start address of discrete inputs
  • nb - number of discrete inputs to configure

Returns

0 on success, 1 on failure