If the button pin is pulled LOW in an idle state ,active HIGH. You could use WHILE/WEND.
Code:WHILE BUTTON = 1 DO SOMETHING WEND
If the button pin is pulled LOW in an idle state ,active HIGH. You could use WHILE/WEND.
Code:WHILE BUTTON = 1 DO SOMETHING WEND
Dave
Always wear safety glasses while programming.
Bookmarks