mcp2221 breakout board for c++
-
hi guys,
i am working linux and c++ in Qt
i have a adafruit mcp2221a breakout board, it have python code for work but i need c++ code.
i need usb to gpio for adafruit mcp2221a c++ code , document or tuttorial on linux
that program run a button and led with theese breakout board. how can i do.regards
asi -
@asisisyah said in mcp2221 breakout board for c++:
adafruit mcp2221a
i have a adafruit mcp2221a breakout board, it have python code for work but i need c++ code.
i need usb to gpio for adafruit mcp2221a c++ code , document or tuttorial on linux
that program run a button and led with theese breakout board. how can i do.I don't know this device but I had a quick look on their WEB page. You can find the source of the Python library written in C on Github. Maybe you'll find a documentation describing how to communicate with it.
All you can do is taking the source on Github together with any documentation you may find and implement everything by yourself. I fear in this case the code is the documentation. You should find everything necessary to implement a USB driver on Linux in the source. Try to create a library. This is the usual way in case the wanted program doesn't exist.A.T.