> ## Documentation Index
> Fetch the complete documentation index at: https://instro.nominal.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Aardvark

> A driver for [`I2CInterface`](/library/protocols/i2c/overview)

<Card title="Total Phase Aardvark" horizontal href="/i2c/Aardvark">
  <img src="https://mintcdn.com/nominal/vd1fIohbHX0IE-nH/snippets/drivers/i2c/total-phase-aardvark/image.png?fit=max&auto=format&n=vd1fIohbHX0IE-nH&q=85&s=f1f1f5488d98f340d68967a2728fa1ff" style={{ width: "100%", height: "100px", objectFit: "contain" }} noZoom alt="Total Phase Aardvark" width="500" height="348" data-path="snippets/drivers/i2c/total-phase-aardvark/image.png" />
</Card>

The [`Aardvark`](https://nominal-io.github.io/instro/instruments/i2c/#total-phase-aardvark) provides a driver that can be used to instantiate an [I2CInterface](/library/protocols/i2c/overview).

## Creating an [`I2CInterface`](/library/protocols/i2c/overview) with [`Aardvark`](https://nominal-io.github.io/instro/instruments/i2c/#total-phase-aardvark)

```python theme={null}
from instro.i2c.drivers.totalphase import Aardvark
from instro.i2c import I2CInterface
from instro.i2c.types import SystemDefinition

# Create system definition (see the System Definition page for details)
system = SystemDefinition()
# ... add devices to system definition ...

i2c = I2CInterface(
    name="main_i2c",
    driver=Aardvark(serial_number="123456"),
    system_definition=system,
)
```

Parameters and methods specific to [`Aardvark`](https://nominal-io.github.io/instro/instruments/i2c/#total-phase-aardvark) can be found in the [SDK](https://nominal-io.github.io/instro/).
