gandalf15 / HX711

Read HX711 ADC for Weigh Scales on Rasperry PIs.
BSD 3-Clause "New" or "Revised" License
114 stars 82 forks source link

Rewrited HX711 python class #26

Closed gianluparri03 closed 3 years ago

gianluparri03 commented 5 years ago

I have rewritten some part of the HX711 python class, and completely rewritten the outliers_filter function (I keep you method, just how's written)

gandalf15 commented 5 years ago

Hi gianluparri03, I'll do the code review the next week. Much appreciated your contribution.

james-e-morris commented 3 years ago

Ah man, I had a heck of a time figuring out an intermittent issue due to the outliers filter. Basically, if the middle measurement (median) happens to be zero, the outliers don't get filtered at all. This Pull Request from 2 years ago would have fixed this...