Numworks Epsilon  1.4.1
Graphing Calculator Operating System
backlight_dimming_timer.h
Go to the documentation of this file.
1 #ifndef APPS_BACKLIGHT_DIMMING_TIMER_H
2 #define APPS_BACKLIGHT_DIMMING_TIMER_H
3 
4 #include <escher.h>
5 
6 class BacklightDimmingTimer : public Timer {
7 public:
9 private:
10  constexpr static int k_idleBeforeDimmingDuration = 30*1000; // In miliseconds
11  constexpr static int k_dimBacklightBrightness = 0;
12  bool fire() override;
13 };
14 
15 #endif
16 
Definition: timer.h:15