forked from jamesfowkes/cryptology-rgb-puzzle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tlc5973-app.xml
127 lines (115 loc) · 4.37 KB
/
tlc5973-app.xml
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<?xml version="1.0"?>
<board type="Arduino Nano" name="app">
<info>
A puzzle based on matching RGB LED colours
</info>
<defines>
<define>PIXEL_TYPE_TLC5973 1</define>
<define>PIXEL_TYPE PIXEL_TYPE_TLC5973</define>
</defines>
<devices>
<device name="Fixed LEDs" type="TLC5973">
<setting id="pin" value="5"/>
<setting id="num_leds" value="5"/>
</device>
<device name="Variable LEDs" type="TLC5973">
<setting id="pin" value="4"/>
<setting id="num_leds" value="5"/>
</device>
<device name="Binary Output" type="Binary Output">
<setting id="pins" value="8, 9, 10, 11"/>
</device>
<device name="Onboard LED" type="Timed OnOff">
<setting id="pin" name="LED" value="13"/>
<setting id="ontime" value="500"/>
<setting id="offtime" value="500"/>
</device>
</devices>
<parameters>
<parameter name="RGB0" type="RGB">
<setting id="limit" value="7"/>
<setting id="clip" value="true"/>
<setting id="r_default" value="0"/>
<setting id="g_default" value="0"/>
<setting id="b_default" value="0"/>
<setting id="use_eeprom" value="true"/>
</parameter>
<parameter name="RGB1" type="RGB">
<setting id="limit" value="7"/>
<setting id="clip" value="true"/>
<setting id="r_default" value="0"/>
<setting id="g_default" value="0"/>
<setting id="b_default" value="0"/>
<setting id="use_eeprom" value="true"/>
</parameter>
<parameter name="RGB2" type="RGB">
<setting id="limit" value="7"/>
<setting id="clip" value="true"/>
<setting id="r_default" value="0"/>
<setting id="g_default" value="0"/>
<setting id="b_default" value="0"/>
<setting id="use_eeprom" value="true"/>
</parameter>
<parameter name="RGB3" type="RGB">
<setting id="limit" value="7"/>
<setting id="clip" value="true"/>
<setting id="r_default" value="0"/>
<setting id="g_default" value="0"/>
<setting id="b_default" value="0"/>
<setting id="use_eeprom" value="true"/>
</parameter>
<parameter name="RGB4" type="RGB">
<setting id="limit" value="7"/>
<setting id="clip" value="true"/>
<setting id="r_default" value="0"/>
<setting id="g_default" value="0"/>
<setting id="b_default" value="0"/>
<setting id="use_eeprom" value="true"/>
</parameter>
<parameter name="Maximum" type="Integer">
<setting id="clip" value="false"/>
<setting id="min" value="0"/>
<setting id="max" value="4095"/>
<setting id="use_eeprom" value="true"/>
</parameter>
<parameter name="FinishRGB" type="RGB">
<setting id="limit" value="4095"/>
<setting id="clip" value="true"/>
<setting id="r_default" value="0"/>
<setting id="g_default" value="256"/>
<setting id="b_default" value="0"/>
<setting id="use_eeprom" value="true"/>
</parameter>
<parameter name="ResetBehaviour" type="Boolean">
<setting id="use_eeprom" value="true"/>
</parameter>
<parameter name="BrightnessBehaviour" type="Boolean">
<setting id="use_eeprom" value="true"/>
</parameter>
<parameter name="NumSteps" type="Integer">
<setting id="limit" value="8"/>
<setting id="clip" value="true"/>
<setting id="use_eeprom" value="true"/>
</parameter>
<parameter name="FakeButtonPress" type="Integer"/>
</parameters>
<modules>
<module>Task</module>
<module>Debouncer</module>
</modules>
<custom_code>
<file>application.cpp</file>
<file>application.h</file>
<file>buttons.cpp</file>
<file>buttons.h</file>
<file>rgb.cpp</file>
<file>rgb.h</file>
<file>nonlinear.cpp</file>
<file>nonlinear.h</file>
</custom_code>
<logging>
<log_module>BUTTONS</log_module>
<log_module>RGB</log_module>
</logging>
<raat protocol="url" buffer_size="32"/>
</board>