Switch segment editor

The switch segment editor opens when you double-click a SWITCH segment in the timeline. It lets you set the time interval and the on/off state of the pin during that segment.

Time parameters

FieldDescription
Start (T0)Start time of the segment in milliseconds from the beginning of the animation.
End (T1)End time in milliseconds. Must be greater than T0.

Switch value

ValueMeaning
0Pin off (LOW). The pin stays low for the entire T0–T1 interval.
1Pin on (HIGH). The pin is driven high for the entire T0–T1 interval.

The physical pin is the one configured in the SWITCH element linked to the track.

Track

In insert mode, the Track combo lets you choose which SWITCH element to place the segment on. In edit mode the track is locked.

OK and Cancel

Press OK to apply changes. Press Cancel to close without saving.

The operation can be undone with Ctrl+Z.

The switch value applies for the entire segment duration. To alternate on/off over time, create two consecutive segments with values 1 and 0.
See also: The timeline — Switch element editor — Servo segment editor