Now t->proc() occurs before displaying leds, which should eliminate the small delay experienced after pressing a button.
Now t->proc() occurs before displaying leds, which should eliminate the small delay experienced after pressing a button.
Moved different actions whuch occur on Thermostate::proc() to different private methods.
Now Thermostate should automatically change between day and night.