def __init__(self, func, millis):
        threading.Thread.__init__(self)
        self.event = threading.Event()
        self.func = func
        self.seconds = millis / 1000.0
        self.shouldRun = True

        self.setDaemon(True)
        self.start()
dataset/ETHPy150Open theycallmeswift/BreakfastSerial/BreakfastSerial/util.py/setInterval.__init__/original