Please tell me how to use a keystroke to abort a loop in dialog based program.
I would like to write a program which has a button. After clicking on the button, the program will keep reading the voltage until a key on the keyboard is pressed. After a keystroke is detected then the program will do something else.
Thanks,