Quote Originally Posted by ronjodu View Post
I didn't mean for you to cut and paste what I posted. Did you change the ports to accomodate your aplication? In other words did you set the bits in each port for the inputs you are using and clear the bits for the outputs you are using?

The other thing jumping out at me is between your code for pin 23 and 24 you have the "goto loop" statement sending the pprogram back to the beginning.

That statement should be at the end of the program I believe.

As far as killing the pic, they are fairly resilient. If all you did is put 5 volts on an I/O pin you probably didn't damage it.
I understood what you are doing by making sure the ports are first turned OFF then setting them as needed. Thanks
"goto loop" statement , THAT WAS IT!! Thanks alot. Now all the ports are responding to my configuration so now I can move on to the next part of the learning curve.