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.3.0.tar.gz (8.0 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.3.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: instro_i2c_aardvark-0.3.0.tar.gz
  • Upload date:
  • Size: 8.0 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.3.0.tar.gz
Algorithm Hash digest
SHA256 7c5db3be5c3595990ef19300e811476dc366243c5cad9af395f5c7b3551a7361
MD5 62fbefc0f5671be209faf1194010ad07
BLAKE2b-256 bb7fa4f4603b0b16a04026e0550b1004a6103578855487f120a4a8135963a388

See more details on using hashes here.

Provenance

The following attestation bundles were made for instro_i2c_aardvark-0.3.0.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.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for instro_i2c_aardvark-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 00ad688167603aa148d8c90ed285fb3c741bb5e7b209a83b5eb6ae2f711747ea
MD5 ff56bc4f92ba1bbc54d2d807c712d05f
BLAKE2b-256 5817da602495f6920a046003beedbda09d8b08a1903d24f4b7fa9afe068a22fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for instro_i2c_aardvark-0.3.0-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