Skip to content

CPX A0 is not reliable for touchio.TouchIn #299

@dhalbert

Description

@dhalbert

CPX A0 is connected to the speaker, so it will not work for touch input if the speaker is in use. This should be documented if it's not already

In addition, Touchio.TouchIn(board.A0) often ends up with a very high initial threshold value when the object is created. If you deinit() the object and re-create, the threshold is more reasonable and is closer to the raw_value read later. I tried reading the value twice on during construction but it was still high to being with.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions