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.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.2.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

pimoroni_ioexpander-0.0.2-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pimoroni-ioexpander-0.0.2.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for pimoroni-ioexpander-0.0.2.tar.gz
Algorithm Hash digest
SHA256 71d8469639d9912e87503aef680857b6a4867b616ab5e6e1178d036581da1fc4
MD5 235d37e588bcf21d9cc8270c32565ca8
BLAKE2b-256 acfd4fd7c297ab817c2953e72119615eb231ab4eb4f96e4099f865b5f62e0e37

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pimoroni_ioexpander-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for pimoroni_ioexpander-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b4518eb3eae9e42f0577b0207e37d42d586a7ba950b5b320f2e9a7963c00d5fb
MD5 885af22dce225d34d32a05ee833c8fd4
BLAKE2b-256 bd95663692834f28af2f34245fbf591b9ae52ba42fefd5969eb8be59e70dbb39

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