Python library for the Pimoroni IO Expander
Project description
IO Expander
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
- IO Expander Breakout: https://shop.pimoroni.com/products/io-expander
- RGB Potentiometer Breakout: https://shop.pimoroni.com/products/rgb-potentiometer-breakout
- RGB Encoder Breakout: https://shop.pimoroni.com/products/rgb-encoder-breakout
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
Built Distributions
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ad402aa788d22e73530412684e5c4483276c1f95f3e42c6a3dffe297e4e36a3 |
|
MD5 | 3bba58e3ab5d8ba386e866a36886ba2d |
|
BLAKE2b-256 | ece6a16910a484750563a233d2d19e584a555169b7ff37bf1180311d3c8a94a8 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95016d5248b02e63b2c187d2f078baf53d7d19ca7b05b60ddc79e00d4a5107f7 |
|
MD5 | 1055ebb4c33891c985e0b0d2bede7d8d |
|
BLAKE2b-256 | 1e10f8ff2fdb3c9e24becb7708d1038f27658b80cc6198be3d419451b70e516b |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e258437acd5e7ce7738052085810f8728e1a305d5b6e4ec65aced78e32a68d97 |
|
MD5 | 722162906098e1afd1160877d8380153 |
|
BLAKE2b-256 | 22f41c8045f976c7d2be8c9eed1c114396a33e72bbf526c98e41fb73d67bf30e |