INA icon indicating copy to clipboard operation
INA copied to clipboard

add basic INA228 support

Open sanchox opened this issue 2 years ago • 0 comments

Description

INA228 support

Fixes #77

Type of change

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [x] This change requires a documentation update

How Has This Been Tested?

Some tests with two INA228 on custom HW using modified DisplayReadings.ino example and custom code with

INA.getBusMilliVolts()
INA.getBusMicroAmps()
INA.getBusMicroWatts()

Test Configuration:

  • Arduino version: ???
  • Arduino Hardware: AZ-Delivery ESP-32 Dev Kit C V4
  • SDK: VSCode + PlatformIO + framework-arduinoespressif32 @ 3.20005.220925 (2.0.5) + Wire @ 2.0.0
  • Development system: Ubuntu 20.04

Checklist:

  • [x] The changes made link back to an existing issue number
  • [x] I have performed a self-review of my own code
  • [ ] My code follows the style guidelines of this project
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] The code adheres to the Google Style Guide
  • [ ] The code follows the existing program documentation style using doxygen
  • [ ] I have made corresponding changes to the documentation / Wiki Page(s)
  • [ ] My changes generate no new warnings
  • [ ] The automated TRAVIS-CI run has a status of "passed"
  • [x] I have checked potential areas where regression errors could occur and have found no issues
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [ ] New and existing unit tests pass locally with my changes

Zanshin Logo

sanchox avatar Nov 21 '22 07:11 sanchox