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

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

src/m/o/motmot.fview_ext_trig-0.4/motmot/fview_ext_trig/trigger.py   motmot.fview_ext_trig(Download)
 
        if 1:
            val = usb.bulk_write(self.libusb_handle, 0x06, buf, 9999)
            debug('set_output_durations result: %d'%(val,))
 
    def enter_dfu_mode(self):
        buf = self.OUTPUT_BUFFER # shorthand
        buf[8] = chr(TASK_FLAGS_ENTER_DFU)
        val = usb.bulk_write(self.libusb_handle, 0x06, buf, 9999)