Skip to content
This repository was archived by the owner on Jul 22, 2019. It is now read-only.
This repository was archived by the owner on Jul 22, 2019. It is now read-only.

Spurious values in joystick reads #1

@ATMakersBill

Description

@ATMakersBill

Every once in a while joystick x and y readings jump to 255. It seems like it's every 5-10 seconds.

I added a check to simply ignore any reading where either is exactly 255. We should either find a way to detect these (perhaps there's a pattern) or just filter them at the library level. That would require caching the values and keeping old ones if the read was invalid (or just re-reading).

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