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
:
8
BacklightDimmingTimer
();
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
BacklightDimmingTimer::BacklightDimmingTimer
BacklightDimmingTimer()
Definition:
backlight_dimming_timer.cpp:3
Timer
Definition:
timer.h:15
escher.h
BacklightDimmingTimer
Definition:
backlight_dimming_timer.h:6
epsilon
apps
backlight_dimming_timer.h
Generated by
1.8.14