ArduinoModbus - modbusServer.configureCoils()

Description

Configure the servers coils.

Syntax

int configureCoils(int startAddress, int nb);

Parameters

  • startAddress - start address of coils
  • nb - number of coils to configure

Returns

0 on success, 1 on failure