Page 1 of 1

Button press/relese

Posted: Wed Jan 04, 2017 8:25 am
by Isakovic
Hello,

I need a digital gate to be set while the button is pressed, and reset when the button is released. There are no CodeBuilder commands in button help menu that can be used.
Is there a workaround for this problem?

Re: Button press/relese

Posted: Wed Jan 04, 2017 8:38 am
by admin
Dear sir,
Use switch object in template builder and set in it in "button" mode. Don't need any other code.

Regards

Re: Button press/relese

Posted: Wed Jan 04, 2017 9:27 am
by Isakovic
Thanks