readPowerSupply()

Read device's power requirements. sensors.readPowerSupply(deviceAddress)
sensors: a variable of type DallasTemperature.
deviceAddress: pointer to an 8 byte array containing the address - this parameter can be skipped.
bool
  • true if parasite mode is used (2 wire)
  • false if normal mode is used (3 wire)
  • if no address is given (or nullptr) it checks if any device on the bus uses parasite mode