Skip to content

Wrong value in the code #5

@hqrrr

Description

@hqrrr

The value 0.0048828125 in the example WndSensor.ino (line 77) is wrong.
It should be 5/1023 = 0.004887585533 instead of 5/1024, because the range of 10-bit ADC is 0-1023, not 1024.

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