Skip to main content

SX1509 GPIO Expander Package

This package provides a Python interface for controlling the SX1509 GPIO expander.

Installation

pip install sx1509-gpio-expander

Usage

To use the package, import the SX1509 class from the sx1509 module:

from sx1509_gpio_expander import SX1509
import board

# Set up I2C
i2c = board.I2C() 
# Initialize the SX1509
ioExpander = SX1509.SX1509(i2c, 0x3E)

# Use the expander
ioExpander.pinMode(0, ioExpander.OUTPUT)
ioExpander.digitalWrite(0, ioExpander.HIGH)

License

This project is licensed under the GNU GENERAL PUBLIC LICENSE - see the LICENSE file for details.

Release files for sx1509-gpio-expander 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sx1509-gpio-expander 0.1.2
File Size Uploaded
sx1509_gpio_expander-0.1.2.tar.gz 23.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sx1509-gpio-expander 0.1.2
File Interpreter ABI Platform
sx1509_gpio_expander-0.1.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size:47.9 kB

Release files / sx1509_gpio_expander-0.1.2.tar.gz

Download URL sx1509_gpio_expander-0.1.2.tar.gz
Size 23.9 kB
Tags Source
SHA-256 checksum
How to use checksums
69149e354097c362de8d47dbf22bd456dc5f48388aafa31e5e6549327351e363
BLAKE2b-256 checksum
How to use checksums
50cfec8ac22884894a093bde8fb27c268482e2443f505d8102ff084a51a44079
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.0

Release files / sx1509_gpio_expander-0.1.2-py2.py3-none-any.whl

Download URL sx1509_gpio_expander-0.1.2-py2.py3-none-any.whl
Size 24.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
1bdc88fa1465284cc4d037d7ff103306c08ec53acc4f687bde1cab400738b736
BLAKE2b-256 checksum
How to use checksums
5125d75d9e880225dfbda1f3c3f72706e131d5bfe8a2dce218f5d7e8586126ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.0

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page