def removeCriticalAlarm(self):
    if self.critical_pin:
      detachInterrupt(self.critical_pin)
removeCriticalAlarm()
dataset/ETHPy150Open graycatlabs/PyBBIO/bbio/libraries/ADT7310/adt7310.py/ADT7310.removeCriticalAlarm