This is a Microchip MCP2221(A) HID Library in python(3).
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
PyMCP2221A Install
pip install PyMCP2221A
Sample
import PyMCP2221A
mcp2221 = PyMCP2221A.PyMCP2221A()
Example
MCP2221 ADC : OK :
https://github.com/nonNoise/PyMCP2221A/blob/master/example/MCP2221_ADC.py
MCP2221 DAC : OK :
https://github.com/nonNoise/PyMCP2221A/blob/master/example/MCP2221_DAC.py
MCP2221 GPIO : OK :
https://github.com/nonNoise/PyMCP2221A/blob/master/example/MCP2221_GPIO.py
MCP2221 Interrupt : No :
MCP2221 Clock : OK :
https://github.com/nonNoise/PyMCP2221A/blob/master/example/MCP2221_ClockOUT.py
MCP2221 I2C : OK :
https://github.com/nonNoise/PyMCP2221A/blob/master/example/MCP2221_i2cdetect.py
https://github.com/nonNoise/PyMCP2221A/blob/master/example/MCP2221_EEPROM_WriteReadTest.py
License
The MIT License (MIT) Copyright (c) 2017 Yuta KItagami (kitagami@artifactnoise.com,@nonnoise)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file PyMCP2221A-1.2.0.tar.gz.
File metadata
- Download URL: PyMCP2221A-1.2.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
049e85d9e8ebd6768f86bc0d74f43ccacdb8398f1b42585b2666a8868009e22e
|
|
| MD5 |
21a59bd27311bec471b41fe6474b4ade
|
|
| BLAKE2b-256 |
93d2faee19ed2fea8fdc5b3729753f041d64d3910d9820824ad426ae91237ae3
|