I have a 3-stage process that goes from off to dim to bright [to dim] to off. The transitions between stages are triggered by inputs (Xs) and control bits ...