Skip to content

Whats the literal value "5" in the FastCapacitiveSensor.cpp#L32 about? #7

@ensonic

Description

@ensonic

See https://github.com/Nyanyan/FastCapacitiveSensor/blob/master/FastCapacitiveSensor.cpp#L32

Is this refering to https://github.com/Nyanyan/FastCapacitiveSensor/blob/master/README.md?plain=1#L31

If so shouldn't it be simply: double INPUTTHRESHOLD = 1024 * 0.9;

With that there would be no need for the voltage parameter.

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