Added multi transforms for testing purpose

Former-commit-id: d821e759e3f3f583132a5f21c397b2652337cd28
This commit is contained in:
T. van der Zwan 2013-11-22 13:51:39 +00:00
parent 08b4980ac5
commit 996beae750
1 changed files with 34 additions and 3 deletions

View File

@ -34,10 +34,11 @@
/// - 'updateFrequency' The update frequency of the leds in Hz /// - 'updateFrequency' The update frequency of the leds in Hz
"color" : "color" :
{ {
"transforms" : "transform" :
[ [
{ {
"id" : "default", "id" : "device_1",
"leds" : "0-24",
"hsv" : "hsv" :
{ {
"saturationGain" : 1.0000, "saturationGain" : 1.0000,
@ -63,12 +64,42 @@
"gamma" : 2.0000, "gamma" : 2.0000,
"blacklevel" : 0.0000, "blacklevel" : 0.0000,
"whitelevel" : 1.0000 "whitelevel" : 1.0000
}
}, },
{
"id" : "device_2",
"leds" : "25-49",
"hsv" :
{
"saturationGain" : 1.0000,
"valueGain" : 1.5000
},
"red" :
{
"threshold" : 0.1000,
"gamma" : 2.0000,
"blacklevel" : 0.0000,
"whitelevel" : 0.8000
},
"green" :
{
"threshold" : 0.1000,
"gamma" : 2.0000,
"blacklevel" : 0.0000,
"whitelevel" : 1.0000
},
"blue" :
{
"threshold" : 0.1000,
"gamma" : 2.0000,
"blacklevel" : 0.0000,
"whitelevel" : 1.0000
}
} }
], ],
"smoothing" : "smoothing" :
{ {
"type" : "none", "type" : "linear",
"time_ms" : 200, "time_ms" : 200,
"updateFrequency" : 20.0000 "updateFrequency" : 20.0000
} }