fivesixzero / CircuitPython_HX711

A CircuitPython driver for the HX711 load cell amplifer and ADC
MIT License
5 stars 1 forks source link

Improvements for determine_scalar() #7

Open dquadros opened 1 year ago

dquadros commented 1 year ago

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.