Skip to main content

TI's PCF8574 python driver

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-PCF8574-1.0.0.tar.gz (3.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page