hasAlarm()
Checks if there is at least one device on the bus that supports alarm. This function is active when the REQUIRESALARMS sensors.hasAlarm()sensors: a variable of type DallasTemperature.
bool - true - есть устройство, иначе false Checks whether the device with the given alarm address is supported or not. This function is active when the REQUIRESALARMS sensors.hasAlarm(deviceAddress)
sensors: a variable of type DallasTemperature.
deviceAddress: pointer to an 8 byte array containing the address.
bool - true - device supports, false otherwise