// returns true if any device is reporting an alarm condition on the bus bool DallasTemperature::hasAlarm(void){ DeviceAddress deviceAddress; resetAlarmSearch(); return alarmSearch(deviceAddress); }
void DallasTemperature::processAlarms(void) { resetAlarmSearch(); DeviceAddress alarmAddr; while (alarmSearch(alarmAddr)) { if (validAddress(alarmAddr)) _AlarmHandler(alarmAddr); } }