felHR85 / WinUsbPy

A python wrapper over WinUsb library
MIT License
28 stars 21 forks source link

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

Open amoghmahadik opened 1 year ago

amoghmahadik commented 1 year ago

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