Skip to content

tremaru/pyiArduinoI2Cexpander

Repository files navigation

pyiArduinoI2Cexpander

Данная библилотека (модуль для Python3) позволяет управлять электронными модулями (устройствами) расширения выводов Expander и Trema Expander Hat от iArduino.ru по шине I2C на Raspberry Pi.

Установка

Статья на сайте iarduino.ru

Установка из репозиториев 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

About

io expander for Raspberry Pi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published