Put in hack to reduce flickering issue.

This commit is contained in:
Robert Marshall 2018-12-09 21:02:46 +00:00
parent c0c4e75db0
commit ccbbf6e4c1
3 changed files with 23 additions and 16 deletions

View file

@ -21,6 +21,7 @@ class Lighting {
long _nextLightningFlash = 0;
float _heatIndex;
float _brightness;
byte _lastHeatIndex, _lastBrightness;
float _currentHeatIndex();
float getIndexMultiplier(int now, int startTime, int endTime, bool swap);