Skip to main content

Total Phase Aardvark I2C driver for instro

Project description

instro-i2c-aardvark

Total Phase Aardvark I2C driver for instro.

This package contributes Aardvark under instro.i2c.drivers.totalphase. The driver talks to the Total Phase Aardvark I2C/SPI host adapter through the pyaardvark binding, and runs behind the I2CInterface hardware abstraction.

Installation

pip install 'instro[aardvark]'   # alias: instro[i2c]

The Aardvark shared library is a separate vendor install from Total Phase and is required at runtime on Windows, macOS, and Linux.

Usage

Construct the driver with the adapter serial number, then pass it to I2CInterface along with a system definition describing the peripherals on the bus:

from instro.i2c import I2CInterface
from instro.i2c.drivers.totalphase import Aardvark

i2c = I2CInterface(
    name="myI2C",
    driver=Aardvark(serial_number="2239-764425"),
    system_definition=my_system_definition(),
)

See the I2C guides for system definitions, register and field access, and publishing to Nominal Core.

License

Apache License 2.0.

Project details


Download files

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

Source Distribution

instro_i2c_aardvark-0.2.1.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

instro_i2c_aardvark-0.2.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file instro_i2c_aardvark-0.2.1.tar.gz.

File metadata

  • Download URL: instro_i2c_aardvark-0.2.1.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for instro_i2c_aardvark-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5ad4dfaf697366b0c389f64b842f7e43665ceb11aae715361f93ffe56cf8d476
MD5 b5753de49112710c72ec8ab4416e4bda
BLAKE2b-256 b3e5d3df60b3d125469e0014b62c01d515b5eb8329bbd487461ba8f272a92a9f

See more details on using hashes here.

Provenance

The following attestation bundles were made for instro_i2c_aardvark-0.2.1.tar.gz:

Publisher: release-please-publish.yml on nominal-io/instro

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file instro_i2c_aardvark-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for instro_i2c_aardvark-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ac6ea3f2e8321f393a3a6bd284081b8f7e08371292490c43030e1167b5602947
MD5 3e1e36546ccd271d4302cd5c212f1f75
BLAKE2b-256 484765f7189ae7eba2c2572a43f2646cac47801b903b82231518ccfd196a4469

See more details on using hashes here.

Provenance

The following attestation bundles were made for instro_i2c_aardvark-0.2.1-py3-none-any.whl:

Publisher: release-please-publish.yml on nominal-io/instro

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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