
Originally Posted by
ronjodu
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.
Bookmarks