forked from 4dsystems/ViSi-Genie-Arduino-Library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
genieArduino-WS4-Demo.4DGenie
236 lines (236 loc) · 8.16 KB
/
genieArduino-WS4-Demo.4DGenie
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
Version 0.0
Platform uLCD-32PTU-LR
PlatRes 240x320
Depends
end
Options
Genie
Speed 200000
Checksum No
ResponseSize 1
Multidrop No
Destination 1
SndBuf 2
end
Form
Name Form0
Bgtype Color
Color BLACK
Image (None)
Source.Height 0
Source.Left 0
Source.Top 0
Source.Width 0
OnActivate ''
OnCreate ''
OnRepeat ''
OnTouchMoving ''
OnTouchPressed ''
OnTouchReleased ''
end
LedDigits
Name Leddigits0
Color BLACK
Decimals 0
Digits 2
Height 73
LeadingZero Yes
Left 4
OutlineColor BLACK
Palette.High YELLOW
Palette.Low BLACK
Top 8
Visible Yes
Width 105
OnChanged ''
OnTouchMoving ''
OnTouchPressed ''
OnTouchReleased ''
end
Coolgauge
Name Coolgauge0
Analogue (None)
Arc.Color 0xFFEFE0
Arc.Opacity 200
Arc.StartAngle 135
Arc.StopAngle 405
Threshold.Center 25
Threshold.Color 0xFFD0AF
Threshold.EndValue 100
Threshold.Opacity 200
Threshold.Span 25
Threshold.StartAngle 135
Threshold.StartValue 0
Threshold.SweepAngle 270
Threshold.ThresholdKind Angle
Arc.Width 0.03
CircleEndValue 360
CircleStartValue 0
DialText ''
Digit.Alignment Center
Digit.BackGroundColor 0xFFEFE0
Digit.BackGroundOpacity 30
Digit.Color 0x902F00
Digit.Visible Yes
DivisionColor 0x902F00
DivisionCount 10
DivisionWidth 5
EqualDimensions Yes
Font.Color 0x902F00
Font.Effects []
Font.Name Tahoma
Font.Size 14
Font.Style []
Height 192
Innercircle.Color 0xFFD0AF
Gloss.Color clWhite
Gloss.Opacity 72
Innercircle.Opacity 150
Left 120
Logarithmic No
LogarithmicBase 10
MaximumValue 100
MinimumValue 0
Needle.Color 0xFFD0AF
Needle.InnerCenterColor 0xFFD0AF
Needle.InnerCenterColorTo 0xFFD0AF
Needle.InnerCenterOpacity 255
Needle.OuterCenterColor 0xFFD0AF
Needle.OuterCenterColorTo clBlue
Needle.OuterCenterOpacity 255
Needle.ShineColor 0xFFEFE0
Needle.ShineColorTo 0xD0D0D0
OuterCircle.Color 0xFFD0AF
OuterCircle.Opacity 100
OuterCircle.Width 0.03
OuterRim.Color 0x908070
OuterRim.Opacity 255
OuterRim.Width 2
ShowValues Yes
SubDivisionColor 0x902F00
SubDivisionCount 3
SubDivisionWidth 2
TextRendering ClearType
Timer (None)
Top 0
ValueFont.Color 0x902F00
ValueFont.Effects []
ValueFont.Name Tahoma
ValueFont.Size 11
ValueFont.Style []
ValueFormat 0
Visible Yes
Width 192
OnChanged ''
end
GSlider
Name Slider0
Bevel.BorderColor clBtnFace
Bevel.BorderWidth 0
Bevel.InnerColor BLACK
Bevel.InnerHighlight clBtnHighlight
Bevel.InnerOutline None
Bevel.InnerShadow clBtnShadow
Bevel.InnerSpace 1
Bevel.InnerStyle Lowered
Bevel.Innerwidth 2
Bevel.OuterColor clBtnFace
Bevel.OuterHighlight clBtnHighlight
Bevel.OuterOutline Outer
Bevel.OuterShadow clBtnShadow
Bevel.OuterSpace 0
Bevel.OuterStyle Raised
Bevel.Outerwidth 1
Bevel.Visible Yes
BorderColor clBtnFace
BorderWidth 1
Color BLACK
Height 139
Left 0
Maxvalue 99
Minvalue 0
Orientation Vertical
Palette.High clLime
Palette.Low 0x005100
Spacing 1
SolidFill Yes
TickWidth 1
Top 88
Visible Yes
Width 63
OnChanged 'Report Message'
OnChanging ''
end
Strings
Name Strings0
Alignment Left
BGcolor AQUA
Height 38
FGcolor BLACK
Font.Bold No
Font.CharSet ANSI
Font.Italic No
Font.Name '4D Font3 (8x12)'
Font.Opaque Yes
Font.Size 12
Font.Strikethrough No
Font.Underline No
Left 120
Strings ''
StringsStyle ''
Top 200
Visible Yes
Width 199
OnChanged ''
end
UserLed
Name Userled0
Active Yes
Bevel.BorderColor clBtnFace
Bevel.BorderWidth 0
Bevel.InnerColor clBtnFace
Bevel.InnerHighlight clLime
Bevel.InnerOutline None
Bevel.InnerShadow 0x005100
Bevel.InnerSpace 1
Bevel.InnerStyle None
Bevel.Innerwidth 1
Bevel.OuterColor clBtnFace
Bevel.OuterHighlight clBtnHighlight
Bevel.OuterOutline Outer
Bevel.OuterShadow clBtnShadow
Bevel.OuterSpace 0
Bevel.OuterStyle Raised
Bevel.Outerwidth 1
Bevel.Visible Yes
Height 27
Left 72
OutlineColor BLACK
OutlineWidth 0
PaletteEx.High1 0x14EC3F
PaletteEx.High2 0x377B56
PaletteEx.Low1 0x000051
PaletteEx.Low2 BLACK
Top 204
Visible Yes
Width 43
OnChanged ''
end
StaticText
Name Statictext0
AutoSize Yes
Caption UserLED
Color BLACK
Font.Color WHITE
Font.Effects []
Font.Name Tahoma
Font.Size 9
Font.Style []
Height 14
Left 72
Top 188
Transparent Yes
Visible Yes
Width 45
WordWrap Yes
end