[](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
Metadata
Release files for pyiArduinoI2Cph 1.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyiArduinoI2Cph-1.2.3.tar.gz | 88.3 kB | Details |
Release files / pyiArduinoI2Cph-1.2.3.tar.gz
| Download URL | pyiArduinoI2Cph-1.2.3.tar.gz |
|---|---|
| Size | 88.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af26ba965cbdb8efaed8bf310772ade71217312e472bfa68ceaad7d250da0426
|
|
BLAKE2b-256 checksum How to use checksums |
e650806a76a2cb32947eddcd3f4189cbc8bdafd5994b41d133800efa3b13f49a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.2
|