Skip to main content

Python library for the Pimoroni IO Expander

Project description

IO Expander

Build Status Coverage Status PyPi Package Python Versions

IO Expander Breakout uses a Nuvoton MS51 microcontroller and I2C to give you 14 additional input/output pins to connect things up to. Eight of the pins are hooked up to an Analog to Digital Converter and six of the pins can be used as (up to 16-bit) PWM outputs.

This library is also used to power our other Nuvoton-based boards and breakouts!

Where to buy

Installing

Stable library and dependencies from GitHub:

  • git clone https://github.com/pimoroni/ioe-python
  • cd ioe-python
  • sudo ./install.sh

Latest/development library and dependencies from GitHub:

  • git clone https://github.com/pimoroni/ioe-python
  • cd ioe-python
  • sudo ./install.sh --unstable

Stable (library only) from PyPi:

  • Just run pip3 install pimoroni-ioexpander

In some cases you might need to use sudo.

Changelog

0.0.3

  • Add support for 7-bit switch/pulse counters

0.0.2

  • Call read/write in a single i2c_rdwr to maintain thread safety

0.0.1

  • Initial Release

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

pimoroni-ioexpander-0.0.3.tar.gz (10.2 kB view details)

Uploaded Source

Built Distributions

pimoroni_ioexpander-0.0.3-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

pimoroni_ioexpander-0.0.3-py2-none-any.whl (10.4 kB view details)

Uploaded Python 2

File details

Details for the file pimoroni-ioexpander-0.0.3.tar.gz.

File metadata

  • Download URL: pimoroni-ioexpander-0.0.3.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.2.0 pkginfo/1.8.2 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3

File hashes

Hashes for pimoroni-ioexpander-0.0.3.tar.gz
Algorithm Hash digest
SHA256 8ad402aa788d22e73530412684e5c4483276c1f95f3e42c6a3dffe297e4e36a3
MD5 3bba58e3ab5d8ba386e866a36886ba2d
BLAKE2b-256 ece6a16910a484750563a233d2d19e584a555169b7ff37bf1180311d3c8a94a8

See more details on using hashes here.

File details

Details for the file pimoroni_ioexpander-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pimoroni_ioexpander-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.2.0 pkginfo/1.8.2 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3

File hashes

Hashes for pimoroni_ioexpander-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 95016d5248b02e63b2c187d2f078baf53d7d19ca7b05b60ddc79e00d4a5107f7
MD5 1055ebb4c33891c985e0b0d2bede7d8d
BLAKE2b-256 1e10f8ff2fdb3c9e24becb7708d1038f27658b80cc6198be3d419451b70e516b

See more details on using hashes here.

File details

Details for the file pimoroni_ioexpander-0.0.3-py2-none-any.whl.

File metadata

  • Download URL: pimoroni_ioexpander-0.0.3-py2-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.2.0 pkginfo/1.8.2 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3

File hashes

Hashes for pimoroni_ioexpander-0.0.3-py2-none-any.whl
Algorithm Hash digest
SHA256 e258437acd5e7ce7738052085810f8728e1a305d5b6e4ec65aced78e32a68d97
MD5 722162906098e1afd1160877d8380153
BLAKE2b-256 22f41c8045f976c7d2be8c9eed1c114396a33e72bbf526c98e41fb73d67bf30e

See more details on using hashes here.

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