8000 GitHub - nonNoise/PyMCP2221A at v1.3.1
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

nonNoise/PyMCP2221A

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyMCP2221A

What is.

This is a Microchip MCP2221(A) HID Library in python.

MCP2221 & MCP2221A work in Python.


これはMCP2221(A)のHIDを使ったPythonライブラリーです。

MCP2221 と MCP2221A で動作します。

Install

This library uses hitapi.

pip install hidapi

https://github.com/trezor/cython-hidapi

PyMCP2221A Install

pip install PyMCP2221A

Sample

from PyMCP2221A import PyMCP2221A

mcp2221 = PyMCP2221A.PyMCP2221A()

and More. SMBus (system management bus) compatible function

from PyMCP2221A import SMBus

bus = SMBus.SMBus()

Setup

./img/mcp2221.PNG

Example

License

The MIT License (MIT) Copyright (c) 2017 Yuta Kitagami (kitagami@artifactnoise.com,@nonnoise)

About

MCP2221 & MCP2221A work in Python.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5

0