
PYMCP221A
MCP2221 et MCP2221A fonctionnent à Python.
5
Github Watches
20
Github Forks
37
Github Stars
===================================================== 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
.. image:: ./img/mcp2221.PNG
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
Note you can change the system enviornment variable for I2C read delay if you are running into I2C problems.
import os os.environ["MCP2221_I2C_SLEEP"] = "0.05"
License
The MIT License (MIT) Copyright (c) 2017 Yuta Kitagami (kitagami@artifactnoise.com,@nonnoise)
相关推荐
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.
MCP Server pour récupérer le contenu de la page Web à l'aide du navigateur sans tête du dramwright.
Un puissant plugin Neovim pour gérer les serveurs MCP (Protocole de contexte modèle)
Pont entre les serveurs Olllama et MCP, permettant aux LLM locaux d'utiliser des outils de protocole de contexte de modèle
La communauté du curseur et de la planche à voile, recherchez des règles et des MCP
🧑🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.
Plateforme d'automatisation de workflow à code équitable avec des capacités d'IA natives. Combinez le bâtiment visuel avec du code personnalisé, de l'auto-hôte ou du cloud, 400+ intégrations.
Reviews

user_RZMsTYU1
I have been using PyMCP2221A for a while now, and it has significantly simplified my MCP2221A integration projects. The library by nonNoise is incredibly well-documented and easy to incorporate, making my development process much more efficient. Highly recommend this to anyone looking for a reliable and user-friendly tool for MCP applications. Thank you, nonNoise, for this fantastic product!