felHR85 / WinUsbPy

A python wrapper over WinUsb library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error with init_winusb_device(vid,pid) while running winusbtest2.py

amoghmahadik opened this issue · comments

Hi,
I am running the winusbtest2.py modifying the vid and pid as per my device to get started but I get following error when executing

`` if api.init_winusb_device(dev_vid,dev_pid):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: WinUsbPy.init_winusb_device() missing 1 required positional argument: 'pid'

Please suggest.

Thank you,
Amogh