Other Parts Discussed in Thread: MSP-EXP430FR5969
Hi,
Just starting using C language. Fundamentally I would like to read an input with a momentary push button, do some logic and stop until the same button is pressed. I do not want the program to continue going round and round. Is it possible to do the following in a nutshell:
If button pressed,
Do X
Else Wait. (for button press and do nothing)
Thanks in advance!