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
Release files for python-PCF8574 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python-PCF8574-1.0.0.tar.gz | 3.9 kB | Details |
Release files / python-PCF8574-1.0.0.tar.gz
| Download URL | python-PCF8574-1.0.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e5c536994a8d76e295d2064dcf0110d4219e39479374dda126e942b1293df55
|
|
BLAKE2b-256 checksum How to use checksums |
7dd6db686c673015b14164d10adbe7a854b6323b35c1cda754293bd49c56a4ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.9
|