summaryrefslogtreecommitdiffstats
path: root/Led.cpp
blob: a01bb544e40e29a93a7e20ee566c89b0faa4f0dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* 
 * File:   Led.cpp
 * Author: _prossn
 * 
 * Created on 10. aprile 2018, 16:07
 */

#include "Led.hpp"

Led::Led(Color color) : _color(color)
{

}


Led::~Led()
{

}

Led::Color Led::color() const
{
    return _color;
}

void Led::set(bool state)
{
    _state = state;
}

bool Led::state() const
{
    return _state;
}