← Boolean Logic

Lamp Follow

easy

Turns on a lamp while a push button is pressed and off when released.

What it teaches

Copy the input straight to the output. When the button is on, the lamp is on; when the button is off, the lamp is off. The simplest pattern — no memory, no timing.

Parameters

TagDirectionTypeDefaultDescription
In_ButtonInputBOOL0Push button input
Out_LampOutputBOOL0Lamp drive signal

Required behavior