Flasher
medium
Flashes an output at 1 Hz (1s ON, 1s OFF) while enabled.
What it teaches
Blink an output 1 second on and 1 second off while enable is high. When enable drops, the output stops cleanly mid-cycle. The pattern behind every status-indicator light and 'check engine' blinker.
Inputs and outputs
| Tag | Type | Default | Description |
|---|---|---|---|
| In_Enable | BOOL | — | Enable signal |
| Out_Flash | BOOL | — | Flashing output |
Required behavior
- Out_Flash is 0 when In_Enable is 0.
- When In_Enable is 1, Out_Flash cycles 1 second ON and 1 second OFF, repeating indefinitely.