Mar-16-2017, 08:54 PM
I am looking to make a while loop break upon button press but I'm not sure how to do so. I assume it would be with a conditional statement but the syntax is foreign to me.
A pseudocode example would be as follows:
while True:
- statement
if *Button2 = Pressed*
break
Please help.
A pseudocode example would be as follows:
while True:
- statement
if *Button2 = Pressed*
break
Please help.