Quote Originally Posted by dragan77 View Post
Is it finish code for compile...
Almost!

Set the PORTx.x you are going to use for your button and program your routines and you're done.