# `mix bb_sensor_ina219.install`
[🔗](https://github.com/beam-bots/bb_sensor_ina219/blob/main/lib/mix/tasks/bb_sensor_ina219.install.ex#L6)

Installs BB.Sensor.INA219 into a robot

Adds a `:config.:ina219` param group with `bus` and `address`, sets the
bus name on the robot's child spec in your application module, and
imports `bb_sensor_ina219` into your formatter.

The sensor itself lives on a specific link — the installer can't guess
which one, so it prints a snippet for you to paste into the topology.

## Example

```bash
mix igniter.install bb_sensor_ina219
mix igniter.install bb_sensor_ina219 --bus ftdi-3:17-i2c
```

## Options

* `--robot` - The robot module (defaults to `{AppPrefix}.Robot`).
* `--bus` - The I2C bus name (default `i2c-1`).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
