fixing type in score
This commit is contained in:
parent
ab7af6f06b
commit
96d3bfad77
Binary file not shown.
|
|
@ -61,7 +61,7 @@ refresh_func = { while { true } {
|
|||
if(~arduino == 1, {
|
||||
// set min and max Brightness between 0 and 1 depending on wattage of light
|
||||
// it is best to keep the min slightly higher than 0 to keep the light from turning completely off
|
||||
{|i| var minBrightness = 0.1, maxBrightness = 0.9;
|
||||
{|i| var minBrightness = 0.15, maxBrightness = 0.85;
|
||||
arduino_port.putAll(i.asString);
|
||||
arduino_port.put(Char.space);
|
||||
arduino_port.putAll((((brightness[i] * (maxBrightness - minBrightness) + minBrightness) - 1).abs * 256)
|
||||
|
|
|
|||
Loading…
Reference in a new issue