[](https://iarduino.ru)[](https://iarduino.ru) [](https://wiki.iarduino.ru) [](https://lesson.iarduino.ru)[](http://forum.trema.ru)
# pyiArduinoI2Cexpander
Данная библилотека (модуль для Python3) позволяет управлять электронными модулями (устройствами) расширения выводов Expander и Trema Expander Hat от iArduino.ru по шине I2C на Raspberry Pi.
## Установка ##
[Статья на сайте iarduino.ru](https://wiki.iarduino.ru/page/raspberry-python-modules/)
Установка из репозиториев PyPI в терминале Raspberry:
sudo pip3 install pyiArduinoI2Cexpander
Самостоятельная сборка из исходников:
git clone https://github.com/tremaru/pyiArduinoI2Cexpander.git && cd pyiArduinoI2Cexpander/pyiArduinoI2Cexpander && python3 setup.py build_ext –inplace
Примеры для Python находятся в папке pyiArduinoI2Cexpander/examples
Примеры для С++ находятся в папке pyiArduinoI2Cexpander/cpp. Так же в этой папке лежит Makefile для сборки из исходников. Можно собрать сразу все примеры командой: make all или make Для сборки конкретного примера: make “название примера” Например: make reset Для удаления собранных исполняемых файлов: make clean
This is a Python3 module for Raspberry Pi. It can work with Trema Expander i2c module and Trema Expander Hat by iarduino.ru
Release files for pyiArduinoI2Cexpander 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyiArduinoI2Cexpander-1.0.4.tar.gz | 113.3 kB | Details |
Release files / pyiArduinoI2Cexpander-1.0.4.tar.gz
| Download URL | pyiArduinoI2Cexpander-1.0.4.tar.gz |
|---|---|
| Size | 113.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9012817d9e71824441ffb394b9bab4a280e9c2796b48ec030c976d457ea89493
|
|
BLAKE2b-256 checksum How to use checksums |
e92b99fe8368c32038a8f6b212d4f4d2cc60014ed852e2c565dcc53e570c9127
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.2
|