parameters: ()
return_statement: return (get_config('USB_VENDOR', type=int, default=default_vid), get_config('USB_PRODUCT', type=int, default=default_pid))
docstring: return tuple of USB VID/PID
docstring_summary: return tuple of USB VID/PID
docstring_tokens: return tuple of USB VID / PID
function: def get_USB_IDs():
      '''return tuple of USB VID/PID'''
  
      global dual_USB_enabled
      if dual_USB_enabled:
          # use pidcodes allocated ID
          default_vid = 0x1209
          default_pid = 0x5740
      else:
          default_vid = 0x1209
          default_pid = 0x5741
      return (get_config('USB_VENDOR', type=int, default=default_vid), get_config('USB_PRODUCT', type=int, default=default_pid))
function_tokens: def get_USB_IDs ( ) : global dual_USB_enabled if dual_USB_enabled : # use pidcodes allocated ID default_vid = 0x1209 default_pid = 0x5740 else : default_vid = 0x1209 default_pid = 0x5741 return ( get_config ( 'USB_VENDOR' , type = int , default = default_vid ) , get_config ( 'USB_PRODUCT' , type = int , default = default_pid ) )