Page 1 of 1

help. led on of using push button

Posted: Wed Oct 14, 2020 10:13 pm
by Saif12
i have a question how to use a push button to turn on led until and when i push it again to turn it off i have been trying for 2 days but i did not get any result using i am using flowcode 8 i hope you will understand my english is not good,

Re: help. led on of using push button

Posted: Thu Oct 15, 2020 1:00 am
by medelec35
Hi Saif12,
Welcome to the forums.
Attached is how I would do it.
There are other ways e.g. using count = count +1.

Re: help. led on of using push button

Posted: Fri Oct 16, 2020 10:01 am
by Saif12
Hello medelec35
Yes Thats what i want to do thank you so much you made it very easy to understand

Re: help. led on of using push button

Posted: Sun Oct 18, 2020 3:08 am
by medelec35
Your're welcome,
glad I could help.

Re: help. led on of using push button

Posted: Sun Oct 18, 2020 4:11 pm
by jgu1
Perfect Martin :D :wink:

Jorgen