Python And Hidapi: Argument Error When Trying To Write A Usb Device
I'm using python 3.9.6 to manage a hid relay board enter image description here I can read vendor id 1305 and product id 8216 of my board using enumerate command, then I tried some
Solution 1:
I solved using the class bytes:
>>> device.write(bytes([0x00,0xf1]))
I'm very happy! Max
Post a Comment for "Python And Hidapi: Argument Error When Trying To Write A Usb Device"