  * DHT22   - 1 unit,
  * DS18B20 - 3 units,
  * ENC28J60 based Ethernet controller.
- * Communicates using Modbus TCP.
+ * 
+ * Communicates using Modbus TCP:
+ * Holding Registers (4x) 40001 - 40010
  * 
  * (c) 2016, Mikhail Shiryaev
  */

#define ONE_WIRE_PIN1 6 // the 2nd DS18B20 data
#define ONE_WIRE_PIN2 7 // the 3rd DS18B20 data

#define DHT_TYPE      DHT22 // DHT 22
#define ONE_WIRE_CNT  3     // count of 1-wire connections
#define TCP_PORT      502   // Modbus TCP default port
#define RESPONSE_LEN  29    // length of Modbus TCP response

// DHT instance
DHT dht(DHT_PIN, DHT_TYPE);

// 1-wire and DS instances
OneWire oneWire0(ONE_WIRE_PIN0);

    if (dsSensors[i].getAddress(deviceAddress, 0)) 
      dsSensors[i].setResolution(deviceAddress, 12);
  }
  DEBUG_PRINTLN("DS sensors initialized");
}

// Initialize ENC28J60 Ethernet controller
