-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathIRTranslator.cpp
More file actions
39 lines (33 loc) · 765 Bytes
/
IRTranslator.cpp
File metadata and controls
39 lines (33 loc) · 765 Bytes
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
35
36
37
38
39
/**
* IRTranslator
* Abstrakte Klasse fuer die Umsetzung von Fernbedienungs-Codes.
*
* @mc Arduino/RBBB
* @autor Christian Aschoff / caschoff _AT_ mac _DOT_ com
* @version 1.1
* @created 7.2.2015
* @updated 16.2.2015
*
* Versionshistorie:
* V 1.0: - Erstellt.
* V 1.1: - Unterstuetzung fuer die alte Arduino-IDE (bis 1.0.6) entfernt.
*/
#include "IRTranslator.h"
eColors IRTranslator::getColor() {
return _color;
}
Mode IRTranslator::getMode() {
return _mode;
}
byte IRTranslator::getTransition() {
return _transition;
}
void IRTranslator::setColor(eColors color) {
_color = color;
}
void IRTranslator::setMode(Mode mode) {
_mode = mode;
}
void IRTranslator::setTransition(byte transition) {
_transition = transition;
}