Page 1 of 1
Switch App developer
Posted: Sun Mar 21, 2021 4:04 pm
by wayne_millard
Hi Everyone,
is it posable to make the gray slid switch have momentry switch action as well as latch.
I cant see how you could modify the componet that does not have momentry action.
Would love some more push buttons.
Thanks,
Wayne Millard
Re: Switch App developer
Posted: Sun Mar 21, 2021 4:48 pm
by medelec35
Hi Wayne,
You can make the switch momentarily by setting the switch using the SetState to 0, just after the switch action has been carried out.
Re: Switch App developer
Posted: Sun Mar 21, 2021 7:48 pm
by wayne_millard
Hi Martin,
Thanks for the feedback you are great at helping people. I did try this but the program can be very slow to react and did not wait long enough time.
wayne M
Re: Switch App developer
Posted: Sun Mar 21, 2021 9:24 pm
by medelec35
Hi Wayne,
In that case when switch operated, get it set state to 0 straight away, but set a flag to 1.
Then after all action been carried out, set the flag to 0.
That way switch will switch off straight away.
If Still facing issues would you like me to take a look at your App?