Forum Tiny Control Solution
Toggle Output on Digital Input - Wersja do druku

+- Forum Tiny Control Solution (https://forum.tinycontrol.pl)
+-- Dział: LanKontroler - sprzęt i wersje wsadów, problemy, zastosowanie (https://forum.tinycontrol.pl/forumdisplay.php?fid=3)
+--- Dział: LanKontroler V3.5 (https://forum.tinycontrol.pl/forumdisplay.php?fid=28)
+--- Wątek: Toggle Output on Digital Input (/showthread.php?tid=1488)



Toggle Output on Digital Input - mspeke - 01-14-2021

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


RE: Toggle Output on Digital Input - wilkxt - 01-17-2021

(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.


RE: Toggle Output on Digital Input - mspeke - 01-19-2021

Thanks.

That worked well.

Matt