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-1.0.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-1.0.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: instro_i2c_aardvark-1.0.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-1.0.0.tar.gz
Algorithm Hash digest
SHA256 342de6c3d095473dccafeec1cc15b135982107774ef3954fba27ac5f36942c29
MD5 28e89f943d0199da9f7b352007ebc382
BLAKE2b-256 600c52cc52a972e52ad0d635a3d2a75d0d4177f5ffd176c81bf0dbbecf959f18

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for instro_i2c_aardvark-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f38c81401fbe7c570ea44fd6b22b6255b1529ca42928fcd4fd350a97d2a15170
MD5 a0e70f9c756df167256e75f49d3ccc64
BLAKE2b-256 fe10751a23df80274149c6527382e2a623913a043e05e827de52645d8f9ea9b0

See more details on using hashes here.

Provenance

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