Hello,
i am not good in programing so maybe i have stupid question but i dont know how to do it.
So i need a button script that put ON Output 4 until INPUT 1 is active ,then stop the power to output 4,
i tryed this :
DoOEMButton(233)
IF IsActive(INPUT1)then
DoButton(234)
DoButton(0) // to start cycle

But this works only if i activate INPUT1 it doesnt wait it.
this si to control DC Motor with switches . So i dont know how to do it or how to LOOP the "IF" until is active INPUT1.
Sorry for poor English.
Thanks