mortenfyhn / coffee-scales

⚖️ Scales for brewing coffee ☕
GNU General Public License v3.0
22 stars 2 forks source link

Successive tare computation #15

Closed mortenfyhn closed 3 years ago

mortenfyhn commented 5 years ago

The current taring just reads a raw value n times and sets the offset equal to the average of the readings. What if I instead take a single reading and set the offset repeatedly until for instance the change in offset is very small. Then taring a) might go faster and b) won't fail if it happens while the applied weight changes.