Skip to content

Conversation

tyeth
Copy link
Member

@tyeth tyeth commented Aug 13, 2025

No need to add to library.properties nor platformio.ini, as the Adafruit INA237_238 library includes the INA228 library as a dependency.

I guess I could be explicit about it though, in case of future refactoring changing the dependency chain.

Copy link
Member Author

@tyeth tyeth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Untested as yet.

Tested on QTPY ESP32 on Prod, with INA260, 237, 238, and 228 on same bus measuring LED.
image

@tyeth tyeth marked this pull request as ready for review August 13, 2025 18:17
@tyeth
Copy link
Member Author

tyeth commented Aug 13, 2025

@brentru this is ready for review.
While doing offline mode I had accidentally plugged in an INA228, and realised that was on the list for after the refactor INA's from .h to .cpp in Online mode. I've now added it to offline mode in the other PR, and this brings to to online mode too.
Also spotted the INA260 was off by a factor of 1000 so fixed that too.

@tyeth tyeth requested a review from brentru August 13, 2025 18:19
@tyeth tyeth changed the title Add INA228 (included as base lib for INA23x) Add INA228 to online mode (included as base lib for INA23x) Aug 13, 2025
Copy link
Member

@brentru brentru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tyeth LGTM

@tyeth tyeth merged commit f4788c0 into adafruit:main Aug 13, 2025
86 of 88 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants