# INA226 component for ESP-IDF [](https://github.com/cybergear-robotics/ina226/actions/workflows/build_example.yml) [](https://opensource.org/licenses/MIT) [](https://GitHub.com/cybergear-robotics/ina226/graphs/commit-activity) [](https://shields.io/) [](https://shields.io/) ## Using component ```bash idf.py add-dependency "cybergear-robotics/ina226" ``` ## Example Not all examples are ported. For further examples, please look at the original project. 1. create example project ```bash idf.py create-project-from-example "cybergear-robotics/ina226:read_voltage" ``` 2. Go to to example directory (for example `read_voltage`) `cd read_voltage` 3. Set ESP chip `idf.py set-target esp32` 4. Configure I2C settings `idf.py menuconfig` 5. Build, flash `idf.py build flash monitor`
611a29c760db46787d4c3edded8a90e3232efe17
idf.py add-dependency "cybergear-robotics/icm20948^1.0.0"