Toggle a BOOL output on the rising edge of a button input. The rungs.dev Add-On Instruction detects edges every scan, including the very first one.
| Name | Type | Usage | Description |
|---|---|---|---|
| In_Button | BOOL | Input | Button input signal to monitor for a rising edge. |
| Out_ToggledOutput | BOOL | Output | Output signal that changes state on each rising edge of the button input. |
Open this exercise in Rungs Studio, write your solution, then click Test in the toolbar to verify your work against the built-in test cases.