Skip to main content

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)

Release files for PyMCP2221A 1.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyMCP2221A 1.4.0
File Size Uploaded
PyMCP2221A-1.4.0.tar.gz 5.0 kB Details

Release files / PyMCP2221A-1.4.0.tar.gz

Download URL PyMCP2221A-1.4.0.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ade5e4bc3eee4ef3550e747d4b9f84ee85577012385cb85ad380059939f6145e
BLAKE2b-256 checksum
How to use checksums
f2f776fb522afc95363ff243ceec4a211adca08bddd161e524fe5f1df12fe784
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

1.4.0 This release

1 release file

1.3.1

1 release file

1.3.0

1 release file

1.2.0

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page