Last updated:
0 purchases
pythonPCF8574 1.0.0
python driver for PCF8574
Overview
Texas Instruments PCF8574 is an 8-bit I/O expander based on I2C/SMBus. This package allows users to use PCF8574 GPIOs like any standard arduino GPIOs. Provides standard arduino like functions pinMode, digitalWrite, digitalRead etc.
Installation
Package: pip3 install python-PCF8574
Dependencies: pip3 install -r requirements.txt
Usage Examples
examples/basicExample.py : A basic workflow for reading and writing a GPIO
examples/multiDeviceExample.py : multiple PCF8574 devices
examples/threadSafeExample.py : Not implemented
Example Code
For those who just want to get started fast:
<TODO>
Development and Contributibg Instructions
The current code base is compatible with python3. Pull requests for new features, bug fixes, and suggestions are welcome! Please create an issue for discussion before working on a substantial change.
License
MIT
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.