-
I came across this library because the MCP2221 is a cousin chip to the MCP2200. I have a Denkovi relay board that uses the MCP2200 chip that I am trying to speak the HID interface which controls the relays, and am having a hard time with it as far as connecting to the HID usb port. I keep getting closer but if I reinstall It seems to get a different driver. I finally found the MCP2221driver installer at Microchip and it seems to be what I want, and this library can actually get data off the chip at start if I change the buffer size to16 instead of 64. I am going to try to make a minimal port of this and will report back but it would be a lot easier if someone has already done it. I am doing this in Windows 11 Update: I did not find a similar module for mcp2200, and if I get ambitious, I might write one, but after pulling together documentation from Microchip, mcp2200 code in different language and for different OS (Linux). And looking at this code and other code for other Microchip hid chips, I was able to boil it down along will installing and deleting different drivers, the code for toggling a relay. (Note: I need to create a "configure" code as well, in case GPIO isn't set the correct direction) But with configured hardware, here's the python turnon.py code:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hello. I don't have any MCP2200 to test. But tell me if I can help you with anything. |
Beta Was this translation helpful? Give feedback.
-
Actual answer in original question which I edited. |
Beta Was this translation helpful? Give feedback.
Actual answer in original question which I edited.