Skip to content

Improvements for determine_scalar() #7

Description

@dquadros

Two improvement suggestions for the determine_scalar() method:

  1. Use read_average() instead of read_raw(), to get a better scalar
  2. Remove the abs() in diff = abs(reading - self.offset). I probably messed up in my setup, but in my scale the readings decrease with added weigh.

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