Forum Tiny Control Solution

Pełna wersja: Toggle Output on Digital Input
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
Hi,

I have a switch connected to INDP1 and 5VDC from LK3. I am trying to toggle output of out0 with button press. Is this possible? I can create events to set out0 to 0 or 1 depending on INPD1 0 or 1 logic, but I would like each logic change to change the state of out0 and latch it to that state until the button is pressed again.

Matt
(01-14-2021, 01:05 PM)mspeke napisał(a): [ -> ]Hi,

I have a switch connected to INDP1 and 5VDC from LK3. I am trying to toggle output of out0 with button press. Is this possible? I can create events to set out0 to 0 or 1 depending on INPD1 0 or 1 logic, but I would like each logic change to change the state of out0 and latch it to that state until the button is pressed again.

Matt

In Inputs page, set INPD1 as Bistable work.
Thanks.

That worked well.

Matt