-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Please ask your question
Very Lucky that 2 day before I need the INA226 driver and you upload this repo. Thank you.
I found the driver alway print math overflow, but when I comment below code segment, It can read Volt and Current and the number look ok...
Not sure if this is a driver issue or my coding issue
// if ((prev & (1 << 2)) != 0) /* check math overflow */
// {
// handle->debug_print("ina226: math overflow.\n"); /* math overflow */
//
// return 4; /* return error */
// }
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels