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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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