def get_dev(di_file=default_di_file, serial_num=None, bus_addr=None, VID=default_VID, PID=default_PID, timeout=10): """Opens a device and loads the DI file. If a serial_num is provided, this opens that device. You can also specify the VID and PID. This will wait until 'timeout' seconds for a device to connect.""" dev=fx2.get_dev(di_file=di_file, serial_num=serial_num, bus_addr=bus_addr, VID=VID, PID=PID, timeout=timeout) return UXN1230(dev)
from nitro_parts.Cypress import CY7C68013 as fx2 dev = fx2.get_dev()
from nitro_parts.Cypress import CY7C68013 as fx2 dev=fx2.get_dev()