Skip to content

Issue with setShuntVoltageLimit function #12

@izzarzn

Description

@izzarzn

I have proposed some changes to the function:

void INA226::setShuntVoltageLimit(float voltage){// MODIFIED by GCAR
uint16_t value = voltage/2.5e-6;
writeRegister16(INA226_REG_ALERTLIMIT, value);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions