nonNoise / PyMCP2221A

MCP2221 & MCP2221A work in Python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyMCP2221A

What is.

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

MCP2221 & MCP2221A work in Python.


日本語はこちら

https://github.com/nonNoise/PyMCP2221A/blob/master/README_JP.rst

Install

PyMCP2221A Install

pip install PyMCP2221A

or

git clone https://github.com/nonNoise/PyMCP2221A.git

cd pypi

sudo python setup.py build

sudo python setup.py install

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.

License:MIT License


Languages

Language:Python 99.7%Language:Makefile 0.3%