mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
14 lines
207 B
C++
14 lines
207 B
C++
#include "led_timer.h"
|
|
|
|
LedTimer::LedTimer() :
|
|
Timer(1),
|
|
m_on(false)
|
|
{
|
|
}
|
|
|
|
void LedTimer::fire() {
|
|
m_on = !m_on;
|
|
KDColor ledColor = m_on ? KDColorRed : KDColorBlack;
|
|
Ion::LED::setColor(ledColor);
|
|
}
|