mix bb_sensor_ina219.install (bb_sensor_ina219 v0.2.0)

Copy Markdown View Source

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

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).