def setAlarm(self, pin, callback):
    self.removeAlarm()
    self.alarm_pin = pin
    pinMode(self.alarm_pin, INPUT, PULLUP)
    attachInterrupt(self.alarm_pin, callback, FALLING)
Created on 24 Oct 2014
dataset/ETHPy150Open graycatlabs/PyBBIO/bbio/libraries/ADT7310/adt7310.py/ADT7310.setAlarm--crossover with--dataset/ETHPy150Open RoanFourie/ArchestrA-Tools/aaTools/aaAppend.py/append_files