forked from bracci/Qlockthree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Event.h
45 lines (36 loc) · 762 Bytes
/
Event.h
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
40
41
42
43
44
45
/*
Event.h
Klasse für ein jährliches Event
@mc Arduino/UNO
@autor Manuel Bracher / [email protected]
@version 1.0
@created 02.01.15
*/
#ifndef EVENT_H
#define EVENT_H
#include "Effects.h"
#include "Configuration.h"
#include "Colors.h"
#include "Settings.h"
extern Settings settings;
#define DURATION_BM 15
#define TICKER_SPEED 6
#define DURATION_ANI_BM (DURATION_BM/5)
class Event {
public:
Event(byte month,
byte date,
const char* txt,
Effects::eEffects effect,
eColors color);
void show();
byte getMonth();
byte getDate();
private:
byte _month;
byte _date;
const char* _txt;
Effects::eEffects _effect;
eColors _color;
};
#endif