🧩 What does the Switchback Frame do and how should I use it?

The Switchback Frame acts as a temporary mask that disables specific channels (bits) from any lower-priority tabs while a higher-priority function is active.

In the ZLED Bit Editor app:

  • Each tab represents a lighting function (e.g. Tab 1 = Running Lights, Tab 2 = Brakes, up to Tab 5 = Strobes).

  • Tabs follow a priority system: Tab 1 has the lowest, Tab 5 has the highest.

Let’s say:

  • Tab 1 uses bits 1–10 for a running light pattern.

  • Tab 2 (brake lights) also needs to use bits 5–10.

If both tabs share the same channels without masking, the sequences will blend or conflict.
By assigning bits 5–10 in Tab 2’s Switchback Frame, those bits are temporarily disabled from Tab 1’s output while Tab 2 is active.

This allows the brake light (Tab 2) to cleanly override any shared channels from the running lights (Tab 1), avoiding flickering or overlapping effects.

Best practice: Always use the switchback frame when two tabs share the same bits but need to behave independently.

Category: ZLEDS Bit Editor

Tagged in :

Leave a Reply

More Articles & Posts

error: ⚠️