Skip to main content

i2c Extensions For Telemetrix Clients

Project description

Telemetrix i2c Extensions

This repository contains i2c extension libraries for the Telemetrix project.

To install using pypi, make sure that you have pip installed on your computer and for Linux and Mac type:

sudo pip3 install telemetrix-extensions

For Windows type:

pip install telemetrix-extensions

You can read about i2c support here.

Each library consists of two classes, one to handle non-asyncio applications and the other to support asyncio applications.

There are no changes required on the Telemetrix servers.

Because the Telemetrix i2c API is consistent across all Telemetrix clients, to convert an application from one hardware platform to another, only one or two lines need to be modified.

For example, to convert the telemetrix_pca.py example to run on an ESP8266, only the Telemetrix client instantiation line needed to be modified

From:

# create a telemetrix instance
the_board = telemetrix.Telemetrix()

To:

# create a telemetrix instance
# Change the ip address to match the ip address of your nodemcu

the_board = telemetrix.Telemetrix(ip_address='192.168.2.170')

Both asyncio and non-asyncio library classes are available.

Currently supported devices:

  1. PCA9685 Servo Driver

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

telemetrix-extensions-1.0.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

telemetrix_extensions-1.0-py2.py3-none-any.whl (10.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page