|
@@ -97,6 +97,11 @@ function changeVar(value, setting) {
|
|
|
sendValue = ((r << 24) + (g << 16) + (b << 8) + w) >>>0
|
|
sendValue = ((r << 24) + (g << 16) + (b << 8) + w) >>>0
|
|
|
//console.log(sendValue)
|
|
//console.log(sendValue)
|
|
|
//console.log((sendValue >>> 0).toString(2))
|
|
//console.log((sendValue >>> 0).toString(2))
|
|
|
|
|
+ } else if (value.substring(0,2) === "0t") {
|
|
|
|
|
+ const lowAndHigh = value.split(":")
|
|
|
|
|
+ const lowTime = parseInt(lowAndHigh[0]);
|
|
|
|
|
+ const highTime = parseInt(lowAndHigh[1]);
|
|
|
|
|
+ sendValue = (lowTime << 16) + highTime >>>0
|
|
|
} else {
|
|
} else {
|
|
|
sendValue = Number(value)
|
|
sendValue = Number(value)
|
|
|
}
|
|
}
|