Numworks Epsilon
1.4.1
Graphing Calculator Operating System
led_timer.cpp
Go to the documentation of this file.
1
#include "
led_timer.h
"
2
3
LedTimer::LedTimer
() :
4
Timer
(1),
5
m_on(
false
)
6
{
7
}
8
9
bool
LedTimer::fire() {
10
m_on = !m_on;
11
KDColor
ledColor = m_on ?
KDColorRed
:
KDColorBlack
;
12
Ion::LED::setColor
(ledColor);
13
return
false
;
14
}
Timer
Definition:
timer.h:15
KDColorBlack
constexpr KDColor KDColorBlack
Definition:
color.h:41
false
#define false
Definition:
stdbool.h:9
Ion::LED::setColor
void setColor(KDColor c)
Definition:
led.cpp:8
KDColor
Definition:
color.h:6
KDColorRed
constexpr KDColor KDColorRed
Definition:
color.h:43
LedTimer::LedTimer
LedTimer()
Definition:
led_timer.cpp:3
led_timer.h
epsilon
apps
led_timer.cpp
Generated by
1.8.14