Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
sun_timers.h File Reference

Handle the sun timers: sunset to auto shutdown the system and sunrise for auto turn on. More...

Go to the source code of this file.

Classes

class  lampda::logic::SunTimerBase< BrightnessSunTime >
 Sun timer operations handler All sun operations are exclusive, thay cannot run at the same time. More...
 
class  lampda::logic::SunsetTimer
 Timer to slowly ramp down the brightness until zero then shutdown. More...
 
class  lampda::logic::SunriseTimer
 Timer to start the system and ramp up brightness until we reach back the latest user set brightness. More...
 

Namespaces

namespace  lampda
 Program scope.
 
namespace  lampda::logic
 Handle the main high level logics.
 

Functions

void lampda::logic::sun_timers_init_all ()
 init all timers: call once on program start
 
void lampda::logic::sun_timers_cancel_all ()
 
void lampda::logic::sun_timers_brightness_lock_all (const bool shouldLock)
 

Detailed Description

Handle the sun timers: sunset to auto shutdown the system and sunrise for auto turn on.