Metadata-Version: 2.1
Name: pyiArduinoI2Ctds
Version: 1.0.0
Summary: iarduino.ru module for Raspberry Pi
Home-page: http://github.com/tremaru/pyiArduinoI2Ctds
Author: iarduino.ru
Author-email: shop@iarduino.ru
License: MIT
Classifier: Programming Language :: Python :: 3
License-File: LICENSE

[![](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)

# pyiArduinoI2Ctds

**Данная библилотека (модуль для Python3) позволяет управлять электронными модулями (устройствами) [Солемер для воды с щупом TDS и EC-метр , FLASH-I2C](https://iarduino.ru/shop/Sensory-Datchiki/solemer-tds-ec-flash-i2c.html) от iArduino.ru по шине I2C на Raspberry Pi.**

Подробнее про датчик читайте в нашей [Wiki](https://wiki.iarduino.ru/page/TDS-EC-i2c-raspberry/)

## Установка ##

[Статья на сайте iarduino.ru](https://wiki.iarduino.ru/page/raspberry-python-modules/)

Установка из репозиториев PyPI в терминале Raspberry:

`sudo pip3 install pyiArduinoI2Ctds`

Самостоятельная сборка из исходников:

`git clone https://github.com/tremaru/pyiArduinoI2Ctds.git && cd pyiArduinoI2Ctds/pyiArduinoI2Ctds && python3 setup.py build_ext --inplace`

Примеры для Python находятся в папке `pyiArduinoI2Ctds/examples`

Примеры для С++ находятся в папке `pyiArduinoI2Ctds/cpp`. Так же в этой папке лежит *Makefile* для сборки
из исходников. Можно собрать сразу все примеры командой:
`make all` или `make`
Для сборки конкретного примера: `make "название примера"`
Например:
`make getData`
Для удаления собранных исполняемых файлов:
`make clean`

**This is a Python3 module for Raspberry Pi. It requieres hardware module <https://iarduino.ru/shop/Sensory-Datchiki/solemer-tds-ec-flash-i2c.html> by iarduino.ru**
