Quote Originally Posted by Darrel Taylor View Post

For a 16F877A it should be ...

ADCON1 = 7

Unless you want some analog channels.
<br>
Uhmmm.. tried that and then changed the code to

Code:
	DecButton var PORTA.0	' Press to Decrement Button
	SetButton var PORTA.1  'Press to Set/memorise Button
	IncButton var PORTA.2	' Press to Increment Button
but that still left the 12/24 hr set mode over-writing each other again !