Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

excessive rounding really limits accuracy of this driver -- you limit to 100cm accuracy on a sensor that has few cm accuracy #2

Description

@bradcar

In your driver returns altitude rounded to 100cms, but the sensor can read changes in centimeters.

def altitude(self) -> float:
....code....
return round(altitude, 1)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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