Skip to content
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

busVoltageRaw() overflow #14

Open
mflorian24 opened this issue Feb 27, 2021 · 1 comment
Open

busVoltageRaw() overflow #14

mflorian24 opened this issue Feb 27, 2021 · 1 comment

Comments

@mflorian24
Copy link

on input voltages above ~+12V, the returned value for raw voltage is negative. In the files INA219.h and INA219.cpp you have to change int16_t busVoltageRaw(); to int32_t busVoltageRaw();

@flav1972
Copy link
Owner

flav1972 commented Mar 5, 2021

accepted pull request. new version 1.0.5. let me know it it is ok

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

No branches or pull requests

2 participants