INPUT makes the pin an input. That is what makes things look funny. INPUT used to many times, but is has been awhile since I used a stamp.

How about we do this. Tell what this thing is going to do and the PIC used and we start from scratch.

I am going to be off line for a few hours but I will get back with you if you want to do it that way.