Search found 2 matches

by rt1970
14 Apr 2020, 13:45
Forum: ESP Easy: General Discussion
Topic: double click and longpress problem
Replies: 8
Views: 7115

Re: double click and longpress problem

any solution?

My problem for trying this solution is
if [Switch#State]=3
is not correct?

My Code an my Logfile is here:
https://www.letscontrolit.com/forum/vie ... 951#p43951
by rt1970
13 Apr 2020, 20:13
Forum: ESP Easy: Software
Topic: longpress action without first have the shortpress action
Replies: 10
Views: 7789

Re: longpress action without first have the shortpress action

It doesnt work. It will do nothing. I think the problem is: if [sw1#state]=3 I have this Code in my WEMOS D1 (one Switch and 3 LEDs: Click, Double Click and long Click) on Taster#State do if [Taster#State]=3 //double click triggered! gpiotoggle,0 timerSet,1,0 elseif [Taster#State]=10 //Longclick tri...