forked from sfeakes/AqualinkD
-
Notifications
You must be signed in to change notification settings - Fork 2
/
color_lights.h
89 lines (80 loc) · 5.91 KB
/
color_lights.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#ifndef COLOR_LIGHTS_H_
#define COLOR_LIGHTS_H_
#include "aqualink.h"
#include "aq_programmer.h"
#define LIGHT_COLOR_NAME 16
#define LIGHT_COLOR_OPTIONS 17
//#define LIGHT_COLOR_TYPES LC_DIMMER+1
/*
// color light modes (Aqualink program, Jandy, Jandy LED, SAm/SAL, Color Logic, Intellibrite)
typedef enum clight_type {
LC_PROGRAMABLE=0,
LC_JANDY,
LC_JANDYLED,
LC_SAL,
LC_CLOGIG,
LC_INTELLIB
} clight_type;
*/
//const char *light_mode_name(clight_type type, int index);
const char *light_mode_name(clight_type type, int index, emulation_type protocol);
int build_color_lights_js(struct aqualinkdata *aqdata, char* buffer, int size);
//char *_color_light_options_[LIGHT_COLOR_TYPES][LIGHT_COLOR_OPTIONS][LIGHT_COLOR_NAME];
#endif //COLOR_LIGHTS_H_
/*
Color Name Jandy Colors Jandy LED SAm/SAL Color Logic IntelliBrite dimmer
---------------------------------------------------------------------------------------------------------
Color Splash 11 8
Alpine White 1 1
Sky Blue 2 2
Cobalt Blue 3 3
Caribbean Blu 4 4
Spring Green 5 5
Emerald Green 6 6
Emerald Rose 7 7
Magenta 8 8
Garnet Red 9 9
Violet 10 10
Slow Splash 11
Fast Splash 12
USA!!! 13
Fat Tuesday 14
Disco Tech 15
White 1
Light Green 2
Green 3
Cyan 4
Blue 5
Lavender 6
Magenta 7
Light Magenta
Voodoo Lounge 1
Deep Blue Sea 2
Afternoon Skies 3
Afternoon Sky
Emerald 4
Sangria 5
Cloud White 6
Twilight 7
Tranquility 8
Gemstone 9
USA! 10
Mardi Gras 11
Cool Cabaret 12
SAm 1
Party 2
Romance 3
Caribbean 4
American 5
Cal Sunset 6
Royal 7
Blue 8
Green 9
Red 10
White 11
Magenta 12
25% 1
50% 2
75% 3
100% 4
*/