Switch GPIOx on GPIOy behaviour
Posted: 04 Sep 2021, 08:59
Hi,
can someone please help me to find a rule (if possible at all) that only turns on GPIOx for 5sec if GPIOy has been pressed two times in a row....so two positive slopes within a certain time....like within 2secs....
I know its rather specific but i hope that i can use espeasy and still support this task. Many thanks...my starting point is the rule i found in the forum but this is far from the intended action. Thanks a lot for your support, NORBERT
on Button#Value do
if [Button#Value] = 1
EXTGPIO,16,1
else
EXTGPIO,16,0
endif
endon
can someone please help me to find a rule (if possible at all) that only turns on GPIOx for 5sec if GPIOy has been pressed two times in a row....so two positive slopes within a certain time....like within 2secs....
I know its rather specific but i hope that i can use espeasy and still support this task. Many thanks...my starting point is the rule i found in the forum but this is far from the intended action. Thanks a lot for your support, NORBERT
on Button#Value do
if [Button#Value] = 1
EXTGPIO,16,1
else
EXTGPIO,16,0
endif
endon