[](https://iarduino.ru)[](https://iarduino.ru) [](https://wiki.iarduino.ru) [](https://lesson.iarduino.ru)[](http://forum.trema.ru)
# pyiArduinoI2Cph
Данная библилотека (модуль для Python3) позволяет управлять электронными модулями (устройствами) [Trema модуль pH-метр](https://iarduino.ru/shop/Sensory-Datchiki/datchik-kislotnosti-zhidkosti-ph-metr-flash-i2c.html) от iArduino.ru по шине I2C на Raspberry Pi.
Подробнее про датчик читайте в нашей [Wiki](https://wiki.iarduino.ru/page/ph-i2c-raspberry)
## Установка ##
[Статья на сайте iarduino.ru](https://wiki.iarduino.ru/page/raspberry-python-modules/)
Установка из репозиториев PyPI в терминале Raspberry:
sudo pip3 install pyiArduinoI2Cph
Самостоятельная сборка из исходников:
git clone https://github.com/tremaru/pyiArduinoI2Cph.git && cd pyiArduinoI2Cph/pyiArduinoI2Cph && python3 setup.py build_ext –inplace
Примеры для Python находятся в папке pyiArduinoI2Cph/examples
Примеры для С++ находятся в папке pyiArduinoI2Cph/cpp. Так же в этой папке лежит Makefile для сборки из исходников. Можно собрать сразу все примеры командой: make all или make Для сборки конкретного примера: make “название примера” Например: make getData Для удаления собранных исполняемых файлов: make clean
This is a Python3 module for Raspberry Pi. It can work with [Trema module pH-meter, Flash-I2C](https://iarduino.ru/shop/Sensory-Datchiki/datchik-kislotnosti-zhidkosti-ph-metr-flash-i2c.html) by iarduino.ru
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pyiArduinoI2Cph-1.2.3.tar.gz.
File metadata
- Download URL: pyiArduinoI2Cph-1.2.3.tar.gz
- Upload date:
- Size: 88.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/5.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af26ba965cbdb8efaed8bf310772ade71217312e472bfa68ceaad7d250da0426
|
|
| MD5 |
80301e9c6c532aab16312c28769be5f8
|
|
| BLAKE2b-256 |
e650806a76a2cb32947eddcd3f4189cbc8bdafd5994b41d133800efa3b13f49a
|