Skip to main content

[![](https://iarduino.ru/img/logo.svg)](https://iarduino.ru)[![](https://wiki.iarduino.ru/img/git-shop.svg?3)](https://iarduino.ru) [![](https://wiki.iarduino.ru/img/git-wiki.svg?2)](https://wiki.iarduino.ru) [![](https://wiki.iarduino.ru/img/git-lesson.svg?2)](https://lesson.iarduino.ru)[![](https://wiki.iarduino.ru/img/git-forum.svg?2)](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)

Source distribution for pyiArduinoI2Cexpander 1.0.4
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

Release history Release notifications | RSS feed

This release

1.0.4 This release

1 release file

1.0.3

1 release file

1.0.1

1 release file

0.9.9

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page