Skip to content

More for the INA3221 #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

HiTechHiTouch
Copy link

This fork enhances V1.1 with improved arithmetic precision and easier configuration, including a pretty print of the current config.

V2.1 has one incompatibility with V1 -- the #define SHUNT_RESISTOR_VALUE units are changed to from ohms to milli-ohms. The Arduino IDE with default compiler warnings will flag an existing #define in your sketch so you can adjust it (or remove it).

  • Differing shunt resistor values are supported by additional begin() options.
  • 32 bit integer values are available for readings (in additional to the floats).
  • Operating conditions (sample size, conversion time, etc.) can be set with begin() and altered with setConfigSettings().
  • A 224 byte configuration structure keeps configuration information, and can be pretty-printed.
  • keywords.txt provided for IDE highlighting.

This fork enhances V1.1 with improved arithmetic precision and easier configuration, including a pretty print of the current config.

V2.1 has one incompatibility with V1 -- the #define SHUNT_RESISTOR_VALUE units are changed to from ohms to milli-ohms.  The Arduino IDE with default compiler warnings will flag an existing #define in your sketch so you can adjust it (or remove it).
PrintConfigValues changed to printConfigValues (leading lower case)
Format scaled negatives correctly
Remove unused variable in keywords.txt
Files have been dragged into the wrong folder, and there doesn't seem to be a way to remove them.  Some history need not be kept!!!
play games with github reformatting .md
More formatting games.  Where are the rules???
Data sheet link from DataSheetArchive, as TI doesn't seem to have it available.
wrong folder
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.

1 participant