Skip to content

Missing division by 1000 in MQ135::getRZero() #10

@wsauf

Description

@wsauf

I thing there is a missing division by 1000 in the function MQ135::getRZero()
The function should look like:

float MQ135::getRZero() {
return getResistance() * pow((ATMOCO2/1000./PARA), (1./PARB));
}

Without this division, you get for RZero match to high values. I got same values by 500 and not by 76. After doing the division by 1000 I got values near 76.

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