thorrak / tiltbridge

Tilt Hydrometer to WiFi Bridge
http://www.tiltbridge.com/
Other
61 stars 27 forks source link

Identified another issue in smoothing implementation #59

Closed pletch closed 3 years ago

pletch commented 3 years ago

Now that I have capability to emulate one or more tilts and can dynamically switch between the original Tilt and the Tilt Pro, an error in the smoothing implementation became apparent. Also increased scaling factor of the smoothing calculations to 1000 since there is plenty of headroom in uint32_t to do so.