Skip to main content

This is a Microchip MCP2221(A) HID Library by python3.

Project description

What is.

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

MCP2221 & MCP2221A work in Python.

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyMCP2221A-1.4.0.tar.gz (5.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page