# INA219 Driver Source code for the INA219 I2C Voltage and Current Sensor for ESP-IDF. ## Introduction This driver implements communications with the INA219 using the new i2c esp-idf driver (`driver/i2c_master.h`). It is used to communicate with the INA219 sensor using the ESP-IDF framework I2C master driver. ## Installation To install the driver, you can clone the repository and place it in the `components` folder of your project. ```bash git clone https://github.com/TNY-Robotics/ina219-esp-idf.git components/ina219 ``` ## Usage The driver exposes a simple header file named `ina219.h`, that you can include using : ```c #include "ina219.h" ``` ## Examples An example of how to create, configure, read and delete an ina219 object using the INA219 driver can be found in the `examples` folder. ## Licence This driver is under the MIT Licence. ## Author This driver was created by the [TNY Robotics](https://tny-robotics.com) team. For any questions or suggestions, please contact us at [contact@tny-robotics.com](mailto:contact@tny-robotics.com).
25b04ea9299b317764334bc6da06133034d0b880
idf.py add-dependency "tny-robotics/ina219-esp-idf^1.0.0"