Malc,

In the modified version of Melanie's code, you have ...

Code:
IncButton var PORTA.6	' Press to Increment Button
The 16F877A doesn't have a PORTA.6, and to the program it probably looks like the button is always pressed.
<br>