blob: 0d9e8addb4fc5bb3db7704afb778b211f446ec9b (
plain)
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
|
Variables {
tick 500
tack 100
minute 60000
}
Display SitecomHUB {
Driver 'USBHUB'
Vendor '0x04b4'
Product '0x6560'
}
Display TyphoonHUB {
Driver 'USBHUB'
Vendor '0x0409'
Product '0x0058'
}
Widget GPO_Test300 {
class 'GPO'
expression 2+(1+test::onoff(1))/2
update 300
}
Widget GPO_Test400 {
class 'GPO'
expression 2+(1+test::onoff(2))/2
update 400
}
Widget GPO_Test500 {
class 'GPO'
expression 2+(1+test::onoff(3))/2
update 500
}
Widget GPO_Test600 {
class 'GPO'
expression 2+(1+test::onoff(4))/2
update 600
}
Layout TestHUB {
GPO1 'GPO_Test300'
GPO2 'GPO_Test400'
GPO3 'GPO_Test500'
GPO4 'GPO_Test600'
}
#Display 'SitecomHUB'
Display 'TyphoonHUB'
Layout 'TestHUB'
|