Although I was reading on the button command wouldn't that be the easiest way to go?
Not if you're just reading a single switch on a single port performing a single function...
Now if you're looking for functionality like auto-repeat, debouncing, sure, button may be the way to go.
Bookmarks