iarduino.ru module for Raspberry Pi
Project description
[![](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)
# pyiArduinoI2Csht
Данная библилотека (модуль для Python3) позволяет управлять электронными модулями (устройствами) [Цифровой датчик температуры и влажности](https://iarduino.ru/shop/Sensory-Datchiki/datchik-temperatury-i-vlazhnosti-i2c-trema-modul-v2-0.html) от iArduino.ru по шине I2C на Raspberry Pi.
Подробнее про датчик читайте в нашей [Wiki](https://wiki.iarduino.ru/page/SHT-trema-i2c/#h3_5)
## Установка ##
[Статья на сайте iarduino.ru](https://wiki.iarduino.ru/page/raspberry-python-modules/)
Установка из репозиториев PyPI в терминале Raspberry:
sudo pip3 install pyiArduinoI2Csht
Самостоятельная сборка из исходников:
git clone https://github.com/tremaru/pyiArduinoI2Csht.git && cd pyiArduinoI2Csht/pyiArduinoI2Csht && python3 setup.py build_ext –inplace
Примеры для Python находятся в папке pyiArduinoI2Csht/examples
Примеры для С++ находятся в папке pyiArduinoI2Csht/cpp. Так же в этой папке лежит Makefile для сборки из исходников. Можно собрать сразу все примеры командой: make all или make Для сборки конкретного примера: make “название примера” Например: make reset Для удаления собранных исполняемых файлов: make clean
This is a Python3 module for Raspberry Pi. It can work with [Digital tempreture sensor](https://iarduino.ru/shop/Sensory-Datchiki/datchik-temperatury-i-vlazhnosti-i2c-trema-modul-v2-0.html) by iarduino.ru
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.