Splitter converts a single input into up to four outputs. For example, a knob sensor can turn on LEDs in sequence, where each LED get bright at a different value of the input. As the knob goes from zero to 1023, the LEDs will light up at 200, 400, 600 and 800. These “center points” can be set to any value on the main widget interface. In the more section, the range above and below this center point can be set, as well as the minimum and maximum values for the outputs.
Connect a single input widget and up to four outputs to other widgets
Set the values of the four output center points.
If necessary, use the more tab to adjust:
- Range – affects what values above and below the center points will cause output. E.g. 150 means that 75 below and 75 above the center point will activate the output.
- Min – sets the minimum value of the outputs when the input value is outside the range around the center point.
- Max – sets the maximum value of the outputs when the input value is at the center point of for a particular output.
With everything set up, values from a single input coming into the Splitter widget are sent to the different outputs depending on what range the input values have. In the below example, values from 125 to 275 produce values for the first output with the center point of 200 (a range of 150 centered around 200). Values from 325 to 475 produce values for the next output, and so on.