Skip to content

Bug Report: no negative voltage because of constrain #50

@BeatRossmy

Description

@BeatRossmy

return constrain(ret, 0, 1024);

the constrain function should restrict the value range to -5 to 5 not to 0 to 1024

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions