-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
Not a real issue, but I wanted to let you know that your code can perfectly used under Windows. The user just also needs to install libusb via Zadig, but then magic.
I made small adaptations since I just wanted to set my color at the start without starting GHub.
I made it realy simply. I know not the best coding style. But definitely the fastest.
import sys
import usb.core
device = usb.core.find(idVendor=0x046d, idProduct=0xc336)
if device is None:
sys.exit(1)
device.ctrl_transfer(0x21, 0x09, 0x0211, 0x0001, b'\x11\xff\x0c:\x00\x01\xff\xa1\xf6\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
device.read(0x82, 20)
Metadata
Metadata
Assignees
Labels
No labels