← Boolean Logic

Either-Button Lamp

easy

Turns on a lamp when either of two push buttons is pressed.

What it teaches

Turn on the lamp when at least one button is pressed. A doorbell wired to multiple buttons has the same shape.

Parameters

TagDirectionTypeDefaultDescription
In_Button1InputBOOL0First push button
In_Button2InputBOOL0Second push button
Out_LampOutputBOOL0Lamp drive signal

Required behavior