Good afternoon,
I would like to activate one part of my algorithm depending on the value located in another part. To make easier I symbolize the value by a button and tried to used an user event structure to switch on or switch off a LED located in another while loop.
I can switch on the LED but unfortunately I can not switch off the LED afterward.
it's possible to edit the event structure and select the option "value change". However I would like the fatest way to switch on and off using the event structure and array. I mean that I would like to activate one part of the algorithm only if the button is switched not to have a continue check of the button value by the event structure.
Please, if someone has any idea to switch off the LED (after the switch on), add a comment without any hesitation.
I will be so glad to solve this simple problem.
Thank you in advance for your help.
Ragards