forked from bracci/Qlockthree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Colors.h
69 lines (62 loc) · 1.07 KB
/
Colors.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/**
Colors.h
@mc Arduino/RBBB
@autor Christian Aschoff / caschoff _AT_ mac _DOT_ com
@version 1.1
@created 7.2.2015
*/
#ifndef COLORS_H
#define COLORS_H
typedef struct color_s {
byte red;
byte green;
byte blue;
} color_t;
const color_t defaultColors[] PROGMEM = {
{255, 255, 255},
{255, 0, 0},
{0, 255, 0},
{0, 0, 255},
{0, 255, 128},
{230, 25, 255},
{255, 255, 0},
{255, 64, 0},
{255, 128, 0},
{255, 196, 0},
{255, 255, 0},
{0, 255, 64},
{0, 255, 128},
{0, 255, 196},
{0, 255, 255},
{64, 0, 255},
{128, 0, 255},
{196, 0, 255},
{255, 0, 255},
};
enum eColors : byte {
color_white,
color_red,
color_green,
color_darkBlue,
color_brightBlue,
color_pink,
color_yellow,
color_orange1,
color_orange2,
color_orange3,
color_orange4,
color_turquois1,
color_turquois2,
color_turquois3,
color_turquois4,
color_purple1,
color_purple2,
color_purple3,
color_purple4,
color_single_max = color_purple4,
color_rgb_continuous,
color_rgb_step,
color_max = color_rgb_step,
color_none
};
#endif