Quote Originally Posted by JeffnDana View Post
Bruce:

Thanks for your help. Those changes solved it. Which line was responsible for keeping it from working?

CMCON = 7 ' all digital - comparators disabled

OR

The RETURN in the IF THEN block?

Thanks again for your help!

Jeff
That is why Skimask did not do a re-write for you, you did not learn or listen to him.

Blocks of code, GOSUBS/RETURNS,etc and CMCON.

Print you code and the code Bruce did, study side by side - line by line.

Your first try was not far off for a first timer pun intended