GitHunt
CY

ESP-IDF library for voltage/current sensor INA226

INA226 component for ESP-IDF

Examples build
License: MIT
Maintenance
Framework
Language

Using component

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
idf.py create-project-from-example "cybergear-robotics/ina226:read_voltage"
  1. Go to to example directory (for example read_voltage)
    cd read_voltage
  2. Set ESP chip
    idf.py set-target esp32
  3. Configure I2C settings
    idf.py menuconfig
  4. Build, flash
    idf.py build flash monitor

Languages

C99.2%CMake0.8%

Contributors

MIT License
Created January 14, 2025
Updated January 18, 2025
cybergear-robotics/ina226 | GitHunt