Skip to content

2.3.1 - Hysteresis

Latest

Choose a tag to compare

@tjcooper97 tjcooper97 released this 23 Jun 01:51

When the DS3231 is found, the ledstrip is mostly enabled/disabled by the time. During Dawn/Sunrise & Dusk/Sunset TimeOfDay (see TTime for more information), the ledstrip is instead enabled/disabled based on the current light % vs the value set in 'settings.h'. Because the current state was not being retained, there was the possibility for the ledstrip to cycle on & off repeatedly during these TimeOfDay events because there was not state hysteresis/latching.

In addition to correcting this issue, I also fixed some debug prints in 'setup()' in 'Porch_Lights.cpp' I messed up when converting over to #if blocking debug code.

Full Changelog: 2.3.0...2.3.1