Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/p/i/pifacedigital-emulator-HEAD/pifacedigital_emulator/gui.py   pifacedigital-emulator(Download)
    def handle_interrupt(self, data):
        pin, direction = single_val_to_small_nums(data)
        func = self.get_registered_interrupt_func(pin, direction)
        if func is not None:
            flag = 0xff ^ pifacecommon.get_bit_mask(pin)