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
Metadata
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 | Provenance | |
|---|---|---|---|---|
| python-PCF8574-1.0.0.tar.gz | 3.9 kB | Without provenance | 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
|
Security for python-PCF8574 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.