 
            
            
            
            
        Python-mcp230xx
Outils Python pour les expanseurs MCP23008 et MCP23017 I2C IO
3
Github Watches
10
Github Forks
17
Github Stars
Python MCP230XX I2C IO Expander Tools
A couple of basic tools I knocked up while playing with the MCP23017 on my Raspberry Pi. More info on my blog here: http://nathan.chantrell.net
mcp23017.py
A simple command line tool for setting outputs as high or low.
Usage: mcp23017.py -b 
eg. to set GPA1 high: mcp23017.py -b a -o 1 -s high
Response: Output GPA1 changed to high
Requires python-smbus
mcp23017.wsgi
A web interface using Python and modwsgi. Can be controlled through the built in web form or via GET requests with optional JSON like responses.
eg. to set output GPA1 high: http://rpi/mcp23017.wsgi?bank=a&output=1&state=high&mode=json
Response: {"GPA1":"HIGH"}
Requires python-smbus and apache with mod-wsgi. Note that you will need to make sure your web server has permissions for the i2c bus, eg. /dev/i2c-0
To do: Extend to cater for input as well as output and report on the current state of the outputs.
相关推荐
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.
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Take an adjectivised noun, and create images making it progressively more adjective!
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.
L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
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.
🧑🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.
Une liste organisée des serveurs de protocole de contexte de modèle (MCP)
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
Reviews
 
                                    user_VRLJmK7w
As an avid user of the Python-MCP230XX library, I highly recommend it for anyone working with MCP230xx GPIO expanders. This library, authored by nathanchantrell, provides a straightforward and efficient way to control these expanders using Python. The documentation is clear, and the code is well-maintained, making it an excellent resource for both beginners and experienced developers. Find it on GitHub: https://github.com/nathanchantrell/Python-MCP230XX.
 
     
                                                             
                                                             
                                                             
                                                             
                                                             
                                                             
                                                             
                                                             
                                                            