← All exercises

Rising Edge

easy

Produce a single-scan pulse on every 0-to-1 transition of a BOOL input.

What it teaches

Fire a single-scan pulse the moment the input switches from off to on. While the input stays on after that, the output stays off — only one pulse per change.

Inputs and outputs

TagTypeDefaultDescription
In_SignalBOOL
Out_PulseBOOL

Required behavior

  • The output goes high for exactly one scan when the input transitions from 0 to 1.
  • The output remains low while the input is stable or transitions from 1 to 0.