This code will save my project. And so clean and simple... :-)Originally Posted by Melanie
Thanks a lot Melanie !
This code will save my project. And so clean and simple... :-)Originally Posted by Melanie
Thanks a lot Melanie !
Just one last comment... if you have a crappy switch subject to bounce, use a larger PAUSE step of say 25 or 50mS and that will eliminate it (personally I tend to use 75 or even 100mS).
A note to auto exit after say 500 ms:
Within the while loop put an If time>500 then exit1
So the user does not need to hold the button more than the necessary time.
Ioannis
Bookmarks