Without seeing your code I will guess that your button's mechanical
action is set to switch when pressed.  It becomes true and stays true
and your process always runs.  Set the button to latch when pressed.
The program will reset the button to false after it reads it as true.
Your process will operate only once until you press the button again.

Reply via email to