-
Notifications
You must be signed in to change notification settings - Fork 85
/
sample.conf
72 lines (63 loc) · 1.63 KB
/
sample.conf
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
# ambi-tv configuration file
#
# Please have a look at the included file README.md for information on
# how this file works.
#
v4l2-grab-source {
name v4l2-video
video-device /dev/video0
buffers 4
crop-left 4
crop-top 1
crop-right 4
crop-bottom 1
autocrop-luminance-threshold 8
}
timer-source {
name timer-30fps
millis 33
}
lpd8806-spidev-sink {
name led-frame
spi-device /dev/spidev0.0
spi-speed-hz 2500000
leds-top 34-63 # left-to-right
leds-bottom 13-0,4X,97-84 # left-to-right
leds-left 33-14 # top-to-bottom
leds-right 64-83 # top-to-bottom
led-inset-top -0.75
led-inset-bottom -3.0
led-inset-left -9.0
led-inset-right -9.0
blended-frames 3
gamma-red 1.55
gamma-green 1.6
gamma-blue 1.5
}
avg-color-processor {
name avg-color
}
edge-color-processor {
name edge-color
box-width 8
box-height 8
}
mood-light-processor {
name mood-light
speed 2
}
&program_tv_edge_color {
activate &v4l2-video
activate &edge-color
activate &led-frame
}
&program_tv_avg_color {
activate &v4l2-video
activate &avg-color
activate &led-frame
}
&program_mood_light {
activate &timer-30fps
activate &mood-light
activate &led-frame
}