Log in

View Full Version : Programming a single relay to two buttons in easyC Pro?


Gizmo2417
17-02-2008, 15:47
Is it possible for one relay to be controlled by two different buttons on the controller in easyC Pro?
Thanks.

Branden Ghena
17-02-2008, 17:10
Yes.

If you did something like this

Protocode:

If (button1 == 1) or (button2 == 1){
setRelay1 to on
}

Was that what you meant?