![]() |
Pulse output Boolean - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Pulse output Boolean (/showthread.php?tid=3449) |
Pulse output Boolean - KoBra - 28.06.2021 I am looking for a way to get a pulse output at an incoming 1 and 0. Looked all around but can't find it. I have a mirror cabinet with the following control method: closed contact <1 sec = on or off closed contact >2 sec is dimming up>down>up>down etc so to turn it on and off with all other lights in the room i need to have an output pulse of <1 sec when the input is 1 and when the input becomes 0 i need again a ouput pulse of <1 sec. Anybody an idea how to do? RE: Pulse output Boolean - Daniel - 28.06.2021 Just create event script on boolean virtual object and send on, wait 0.1s and send off. Later regardless what you write to this object it will fire this sequence. RE: Pulse output Boolean - KoBra - 28.06.2021 (28.06.2021, 07:48)Daniel. Wrote: Just create event script on boolean virtual object and send on, wait 0.1s and send off. Later regardless what you write to this object it will fire this sequence. You think i am a good scripter ;-) normally i do all with FB editor. I will try RE: Pulse output Boolean - Daniel - 28.06.2021 Code: grp.write('1/1/1', true) RE: Pulse output Boolean - KoBra - 28.06.2021 (28.06.2021, 10:52)Daniel. Wrote: LOL, tnx |