jslater89 / libra-cervisiae

Libra Cervisiae is an ESP32-based controller for high-precision scales, used to measure fermentation progress.
https://jslater89.github.io/libra-cervisiae
GNU General Public License v3.0
11 stars 2 forks source link

Improve sensor startup behavior #3

Closed jslater89 closed 6 years ago

jslater89 commented 6 years ago

Both sensors need some warmup time to either come online (DS18xxx) or stabilize (HX711). Separate the pre-delay and post-delay startup for each sensor, and provide an initSensor function to do the pre-delay/delay/post-delay cycle correctly.

jslater89 commented 6 years ago

Finished.